projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ca3d7
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 06:12:57 +0000
(14:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 06:12:57 +0000
(14:12 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
dd5c840
..
6d94e23
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-64,7
+64,7
@@
public class JsRender.NodeToVala : Object {
// initialize line data..
node.line_start = this.cur_line;
node.line_end = this.cur_line;
- node.lines = new Gee.ArrayList();
+ node.lines = new Gee.ArrayList
<int>
();
node.line_map = new Gee.HashMap<int,string>();
@@
-805,6
+805,8
@@
public class JsRender.NodeToVala : Object {
void iterChildren()
{
this.node.line_end = this.cur_line;
+ this.node.sortLines();
+
if (this.depth > 0) {
this.addLine(this.inpad + "}");