JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Mon, 1 Sep 2014 09:25:52 +0000 (17:25 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 1 Sep 2014 09:25:52 +0000 (17:25 +0800)
JsRender/NodeToVala.vala

index 472bf60..361d927 100644 (file)
@@ -511,7 +511,7 @@ public class JsRender.NodeToVala : Object {
                }
                this.ret+= "\n" + ipad + "// init method \n";
                
-               this.ret+= this.padMultiline(ipad, this.node.get("init"));
+               this.ret+= "\n" + ipad + this.padMultiline(ipad, this.node.get("init"));
 
          }
         void addListeners()