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

index 5b4778a..d5232c5 100644 (file)
@@ -451,7 +451,7 @@ public class JsRender.NodeToVala : Object {
                */
                if (this.node.has("* ctor")) {
                         
-                       this.ret +=  this.ipad + "this.el = " + this.node.get("* ctor")+ ";\n";
+                       this.addLine(this.ipad + "this.el = " + this.node.get("* ctor")+ ";");
                        return;
                }
                // the ctor arguments...