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

index 4e63f53..62e9f97 100644 (file)
@@ -773,8 +773,8 @@ public class JsRender.NodeToVala : Object {
         
        void addUserMethods()
        {
-                       
-               this.ret+= "\n" + pad + "// user defined functions \n";  
+               this.addLine();
+               this.addLine(this.pad + "// user defined functions");
                        
                        // user defined functions...
                var iter = this.node.props.map_iterator();