src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 08:24:38 +0000 (16:24 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 30 May 2016 08:24:38 +0000 (16:24 +0800)
src/JsRender/NodeToJs.vala

index 9d93411..0a3a67f 100644 (file)
@@ -257,6 +257,7 @@ public class JsRender.NodeToJs : Object {
                                suffix = cniter.has_next()  ? "," : "";
                                var addstr = this.mungeChildNew(this.pad + indent_str  + indent_str, cniter.get());
                                this.addLine(this.pad + indent_str + addstr, ',');
+                               this.node.setLine(this.cur_line, "e", "");
                                
                        }
                        this.closeLine();