From f3d3669bdb48ef216422025a3649de1699e5da44 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 19 May 2015 13:06:16 +0800 Subject: [PATCH] src/JsRender/NodeToVala.vala --- src/JsRender/NodeToVala.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.2