src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Fri, 27 May 2016 07:39:49 +0000 (15:39 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 May 2016 07:39:49 +0000 (15:39 +0800)
src/JsRender/NodeToJs.vala

index 615b1a1..1dbed2a 100644 (file)
@@ -167,10 +167,10 @@ public class JsRender.NodeToJs : Object {
                var spad = this.pad.substring(0, this.pad.length-indent);
                
                if (this.node.props.has_key("* xinclude")) {
-                       this.addLine("Roo.apply(" + this.node.props.get("* xinclude") + "._tree(), {");
+                       this.addLine("Roo.apply(" + this.node.props.get("* xinclude") + "._tree(), {",0 );
         
                } else {
-                       this.addLine("{");
+                       this.addLine("{", 0);
                }
                var suffix = "";
                // output the items...