src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Wed, 4 Mar 2015 07:00:00 +0000 (15:00 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 4 Mar 2015 07:00:00 +0000 (15:00 +0800)
src/JsRender/NodeToVala.vala

index 8c1cf25..8723e4e 100644 (file)
@@ -616,23 +616,23 @@ public class JsRender.NodeToVala : Object {
        {
 
            
-               if (!this.node.has("init")) {
+               if (!this.node.has("init")) {
                            return;
                }
-               this.ret+= "\n" + ipad + "// init method \n";
-               
-               this.ret+= "\n" + ipad + this.padMultiline(ipad, this.node.get("init")) + "\n";
+               this.ret+= "\n" + ipad + "// init method \n";
+       
+               this.ret+= "\n" + ipad + this.padMultiline(ipad, this.node.get("init")) + "\n";
 
-         }
+        }
         void addListeners()
         {
-               if (this.node.listeners.size < 1) {
+               if (this.node.listeners.size < 1) {
                        return;
                }
                            
             
             
-                this.ret+= "\n" + ipad + "// listeners \n";
+               this.ret+= "\n" + ipad + "// listeners \n";
 
                var iter = this.node.listeners.map_iterator();
                while (iter.next()) {