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

index 8a7304f..7e8a7ed 100644 (file)
@@ -696,6 +696,7 @@ public class JsRender.NodeToVala : Object {
                this.addLine();
                this.addLine(ipad + "// init method");
                this.addLine();
+               this.node.proplines.set("init", this.curline);
                this.addMultiLine(ipad + this.padMultiline(ipad, this.node.get("init")) );
 
         }