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:
b63f910
)
src/JsRender/NodeToJs.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 30 May 2016 07:25:53 +0000
(15:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 May 2016 07:25:53 +0000
(15:25 +0800)
src/JsRender/NodeToJs.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToJs.vala
b/src/JsRender/NodeToJs.vala
index
be490a3
..
ce2ab9e
100644
(file)
--- a/
src/JsRender/NodeToJs.vala
+++ b/
src/JsRender/NodeToJs.vala
@@
-220,9
+220,10
@@
public class JsRender.NodeToJs : Object {
var niter = this.out_nodeprops.map_iterator();
while(niter.next()) {
- this.addLine(this.pad + niter.get_key() + " : ", 0);
var addstr = this.mungeChildNew(this.pad + indent_str, niter.get_value());
- this.addLine(addstr,',') ;
+ this.node.setLine(this.cur_line, "p",niter.get_key());
+ this.addLine(this.pad + niter.get_key() + " : " + addstr, ',');
+
}
// prop arrays...