src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 05:10:32 +0000 (13:10 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 05:10:32 +0000 (13:10 +0800)
src/JsRender/NodeToVala.vala

index ad2e007..702dd6e 100644 (file)
@@ -503,9 +503,9 @@ public class JsRender.NodeToVala : Object {
                        return;
                        
                }
+               this.node.proplines.set("* xtype", this.curline);
                
-               
-                               this.ret += this.ipad + "this.el = new " + this.cls + "();\n";
+               this.addLine(this.ipad + "this.el = new " + this.cls + "();");
 
                        
        }