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

index a500ac3..9d93411 100644 (file)
@@ -243,6 +243,7 @@ public class JsRender.NodeToJs : Object {
                        while (pliter.next()) {
                                var addstr = this.mungeChildNew(this.pad + indent_str  + indent_str, pliter.get());
                                this.addLine(this.pad + indent_str + addstr, ',');
+                               this.node.setLine(this.cur_line, "e", "");
                        }
                        this.closeLine();
                        this.addLine(this.pad + "]" , ',');