src/JsRender/Node.vala
authorAlan Knowles <alan@roojs.com>
Wed, 27 Feb 2019 05:10:01 +0000 (13:10 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 Feb 2019 05:10:01 +0000 (13:10 +0800)
src/JsRender/Node.vala

index 830fd47..3a14258 100644 (file)
@@ -564,8 +564,11 @@ public class JsRender.Node : Object {
                        this.props.set(rkey,  (string)sv);
                });
                if (this.get("extends", '*') == "") {
-                       var xt = this.get("xtype");
+                        
                        this.set("* extends",  this.props.get("$ xns") + "." + this.props.get("xtype")); 
+                       this.props.unset("$ xns");
+                       this.props.unset("xtype");
+                       
                }