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:
5b705d2
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 05:44:56 +0000
(13:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 05:44:56 +0000
(13:44 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
35ec529
..
21e7d4e
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-801,22
+801,23
@@
public class JsRender.NodeToVala : Object {
void iterChildren()
{
void iterChildren()
{
+ this.node.line_end = this.curline;
-
if (this.depth > 0) {
+ if (this.depth > 0) {
this.ret+= this.inpad + "}\n";
this.ret+= this.inpad + "}\n";
-
}
+ }
var iter = this.node.items.list_iterator();
var i = -1;
while (iter.next()) {
var iter = this.node.items.list_iterator();
var i = -1;
while (iter.next()) {
-
this.ret += this.mungeChild(iter.get());
+ this.ret += this.mungeChild(iter.get());
}
}
- if (this.depth < 1) {
- this.ret+= this.inpad + "}\n";
- }
-
+ if (this.depth < 1) {
+ this.ret+= this.inpad + "}\n";
}
}
+
+ }
string padMultiline(string pad, string str)
{
string padMultiline(string pad, string str)
{