Merge branch 'master' of http://git.roojs.com/app.Builder.js
[app.Builder.js] / src / JsRender / NodeToJs.vala
index 32f07db..ee2075d 100644 (file)
@@ -196,8 +196,7 @@ public class JsRender.NodeToJs : Object {
                        var v = this.out_props.get(k);
                        this.node.setLine(this.cur_line, "p",k); 
                        this.addLine(this.pad + k + " : " + v + suffix, ',');
-                       this.node.setLine(this.cur_line, "p","| xns" ); 
-                       
+                        
                        this.node.setLine(this.cur_line, "e", "");
                        
                }
@@ -231,6 +230,7 @@ public class JsRender.NodeToJs : Object {
                        this.addLine(this.pad + "xns" + " : " + v + suffix, ',');
                        this.node.setLine(this.cur_line, "p","| xns"); 
                        this.addLine(this.pad + "'|xns' : '" + v + "'", ',');
+                       this.node.setLine(this.cur_line, "e", "");
                }
                
                this.node.line_end = this.cur_line;