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

index 47f2d9c..7ac1203 100644 (file)
@@ -402,10 +402,13 @@ public class JsRender.NodeToVala : Object {
                
 
        }
+       /**
+        *  make sure _this is defined..
+        */
        void addUnderThis() 
        {
                        // public static?
-                       if (depth < 1) {
+               if (depth < 1) {
                        this.ret += this.ipad + "_this = this;\n";
                        return;
                }