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

index 45f30d4..2807ec3 100644 (file)
@@ -412,6 +412,8 @@ public class JsRender.NodeToVala : Object {
                        this.addLine( this.ipad + "_this = this;");
                        return;
                }
+               // for non top level = _this point to owner, and id is added to the owner object..
+               
                this.addLine( this.ipad + "_this = _owner;");
 
                if (this.node.props.has_key("id")