Skip to content

Commit

Permalink
Merge branches 'master' and 'master' of github.com:RealyUniqueName/St…
Browse files Browse the repository at this point in the history
…ablexUI
  • Loading branch information
RealyUniqueName committed Jan 30, 2017
2 parents 2612a4d + 999e51e commit ca47f15
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/ru/stablex/ui/RTXml.hx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class RTXml {
static public function processXml (node:Xml, interp:Interp = null) : RTXml {
var cache : RTXml = new RTXml(interp);
cache.cls = RTXml.getImportedClass(node.nodeName);
trace(1);

//attributes
for(attr in node.attributes()){
if(attr == "defaults"){
Expand All @@ -141,12 +141,11 @@ trace(1);
cache.data.push( new Attribute(attr, node.get(attr)) );
}
}
trace(2);
//children
for(child in node.elements()){
cache.children.push( RTXml.processXml(child, cache.interp) );
}
trace(3);

return cache;
}//function processXml()

Expand Down Expand Up @@ -430,4 +429,4 @@ class HandlerAttribute extends Attribute{
});
}//function apply()

}//class HandlerAttribute
}//class HandlerAttribute

0 comments on commit ca47f15

Please sign in to comment.