From: Alan Knowles Date: Tue, 19 May 2015 05:06:16 +0000 (+0800) Subject: src/JsRender/NodeToVala.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=f3d3669bdb48ef216422025a3649de1699e5da44;p=app.Builder.js src/JsRender/NodeToVala.vala --- diff --git a/src/JsRender/NodeToVala.vala b/src/JsRender/NodeToVala.vala index 47f2d9c1d..7ac120365 100644 --- a/src/JsRender/NodeToVala.vala +++ b/src/JsRender/NodeToVala.vala @@ -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; }