JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Tue, 2 Sep 2014 09:08:07 +0000 (17:08 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 2 Sep 2014 09:08:07 +0000 (17:08 +0800)
JsRender/NodeToJs.vala

index 61331af..4c64cbb 100644 (file)
@@ -35,14 +35,17 @@ public class JsRender.NodeToJs : Object {
        {
                //return this.mungeToString(this.node);
 
-               if (this.node.props.get("* xinclude")) {
-                       return this.xIncludeToString();
-               }
+       
                
                this.checkChildren();
                this.readProps();
                this.readArrayProps();
                this.readListeners();
+
+               if (this.node.props.get("* xinclude")) {
+                       return this.xIncludeToString();
+               }
+               
                this.iterChildren();
                
                if (this.els.size < 1) {