src/JsRender/NodeToJs.vala
[app.Builder.js] / src / JsRender / NodeToJs.vala
index 4f9bf06..1490eec 100644 (file)
@@ -210,8 +210,9 @@ public class JsRender.NodeToJs : Object {
                                this.node.setLine(this.cur_line, ";",k);
                                this.addLine( v,',');
                        }
-                       suffix = total_nodes > 0 ? "," : "";
-                       this.closeLine(this.pad + "}" ,',');                    
+                       
+                       this.closeLine();
+                       this.addLine(this.pad + "}" ,',');
                        
                }