src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 07:35:23 +0000 (15:35 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 07:35:23 +0000 (15:35 +0800)
src/JsRender/NodeToJs.vala

index c3184bf..e5bf553 100644 (file)
@@ -225,7 +225,10 @@ public class JsRender.NodeToJs : Object {
                        var addstr = this.mungeChildNew(this.pad + indent_str, niter.get_value());
                        this.node.setLine(this.cur_line, "p",niter.get_key());
                        this.addLine(this.pad + niter.get_key() + " : " + addstr, ',');
-                       
+                       if (iter.get_key() == "xns") {
+                                       this.addLine(this.pad + "'|xns' : '" + addstr "'", ',');
+
+                               }
                        
                }                        
                // prop arrays...