src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 09:45:21 +0000 (17:45 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 09:45:21 +0000 (17:45 +0800)
src/JsRender/NodeToJs.vala

index d2e24d8..d663bd0 100644 (file)
@@ -187,9 +187,8 @@ public class JsRender.NodeToJs : Object {
                        this.node.setLine(this.cur_line, "p",k); 
                        this.addLine(this.pad + k + " : " + v + suffix, ',');
                        this.node.setLine(this.cur_line, "p","| xns" ); 
-                       if (k== "xns") {
+                       if (k == "xns") {
                                this.addLine(this.pad + "'|xns' : '" + v + "'", ',');
-
                        }
                        
                        this.node.setLine(this.cur_line, "e", "");