src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 05:38:41 +0000 (13:38 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 05:38:41 +0000 (13:38 +0800)
src/JsRender/NodeToJs.vala

index 32f2a6b..75f70dd 100644 (file)
@@ -166,6 +166,7 @@ public class JsRender.NodeToJs : Object {
        public string mungeOut()
        {
                this.node.line_start = this.cur_line;
+               this.top.node.setNodeLine(this.cur_line, this.node);
                var spad = this.pad.substring(0, this.pad.length-indent);
                
                if (this.node.props.has_key("* xinclude")) {