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

index 0a3a67f..e8266c7 100644 (file)
@@ -215,7 +215,7 @@ public class JsRender.NodeToJs : Object {
                
                
                
-               
+               this.node.line_end = this.cur_line;
                
                // * prop
 
@@ -263,7 +263,7 @@ public class JsRender.NodeToJs : Object {
                        this.closeLine();
                        this.addLine(this.pad +   "]",',');
                }
-               
+               this.node.setLine(this.cur_line, "e", "");
                this.closeLine();
                if (this.node.props.has_key("* xinclude")) {
                        this.addLine(spad + "})",0);
@@ -274,7 +274,7 @@ public class JsRender.NodeToJs : Object {
                
                this.node.sortLines();
                
-               this.node.line_end = this.cur_line;
+               
                
                return this.ret;