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

index 2a8e061..19791a4 100644 (file)
@@ -177,7 +177,7 @@ public class JsRender.NodeToJs : Object {
                // work out remaining items...
         
                // output xns / xtype first..
-               if (this.out_props.has_key("xtype") {
+               if (this.out_props.has_key("xtype")) {
                        var v = this.out_props.get("xtype");
                        this.node.setLine(this.cur_line, "p","xtype"); 
                        this.addLine(this.pad + "xtype" + " : " + v + suffix, ',');
@@ -225,7 +225,7 @@ public class JsRender.NodeToJs : Object {
                
                //------- at this point it is the end of the code relating directly to the object..
                
-               if (this.out_props.has_key("xns") {
+               if (this.out_props.has_key("xns")) {
                        var v = this.out_props.get("xns");
                        this.node.setLine(this.cur_line, "p","xns"); 
                        this.addLine(this.pad + "xns" + " : " + v + suffix, ',');