From: Alan Knowles Date: Tue, 19 May 2015 05:07:58 +0000 (+0800) Subject: src/JsRender/NodeToVala.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=e301525de44065e7fc2dd723d50e8a9b78dfd19d;p=app.Builder.js src/JsRender/NodeToVala.vala --- diff --git a/src/JsRender/NodeToVala.vala b/src/JsRender/NodeToVala.vala index a4b76bc8a..5b4778a01 100644 --- a/src/JsRender/NodeToVala.vala +++ b/src/JsRender/NodeToVala.vala @@ -429,6 +429,11 @@ public class JsRender.NodeToVala : Object { } } + /** + * Initialize this.el to point to the wrapped element. + * + * + */ void addWrappedCtor() { @@ -445,8 +450,7 @@ public class JsRender.NodeToVala : Object { } */ if (this.node.has("* ctor")) { - - + this.ret += this.ipad + "this.el = " + this.node.get("* ctor")+ ";\n"; return; }