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:
e625ed2
)
src/JsRender/NodeToJs.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 30 May 2016 08:17:33 +0000
(16:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 May 2016 08:17:33 +0000
(16:17 +0800)
src/JsRender/NodeToJs.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToJs.vala
b/src/JsRender/NodeToJs.vala
index
6b8676f
..
52e8319
100644
(file)
--- a/
src/JsRender/NodeToJs.vala
+++ b/
src/JsRender/NodeToJs.vala
@@
-213,7
+213,7
@@
public class JsRender.NodeToJs : Object {
//------- at this point it is the end of the code relating directly to the object..
//------- at this point it is the end of the code relating directly to the object..
- this.node.line_end = this.cur_line;
+
@@
-225,10
+225,10
@@
public class JsRender.NodeToJs : Object {
var addstr = this.mungeChildNew(this.pad + indent_str, niter.get_value());
this.node.setLine(this.cur_line, "p",niter.get_key());
this.addLine(this.pad + niter.get_key() + " : " + addstr, ',');
var addstr = this.mungeChildNew(this.pad + indent_str, niter.get_value());
this.node.setLine(this.cur_line, "p",niter.get_key());
this.addLine(this.pad + niter.get_key() + " : " + addstr, ',');
- if (iter.get_key() == "xns") {
-
this.addLine(this.pad + "'|xns' : '" + addstr + "'", ',');
+ if (
n
iter.get_key() == "xns") {
+ this.addLine(this.pad + "'|xns' : '" + addstr + "'", ',');
-
}
+ }
}
// prop arrays...
}
// prop arrays...
@@
-271,6
+271,9
@@
public class JsRender.NodeToJs : Object {
}
this.node.sortLines();
}
this.node.sortLines();
+
+ this.node.line_end = this.cur_line;
+
return this.ret;
}
return this.ret;
}