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:
40f6503
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 05:40:16 +0000
(13:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 05:40:16 +0000
(13:40 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
1439df9
..
ba61a96
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-343,7
+343,7
@@
public class JsRender.NodeToVala : Object {
}
}
}
}
-
// if id of child is '+' then it's a property of this..
+ // if id of child is '+' then it's a property of this..
void addPlusProperties()
{
if (this.node.items.size < 1) {
void addPlusProperties()
{
if (this.node.items.size < 1) {
@@
-687,9
+687,10
@@
public class JsRender.NodeToVala : Object {
if (!this.node.has("init")) {
return;
}
if (!this.node.has("init")) {
return;
}
- this.ret+= "\n" + ipad + "// init method \n";
-
- this.ret+= "\n" + ipad + this.padMultiline(ipad, this.node.get("init")) + "\n";
+ this.addLine();
+ this.addLine(ipad + "// init method");
+ this.addLine();
+ this.addMultiLine(ipad + this.padMultiline(ipad, this.node.get("init")) );;
}
void addListeners()
}
void addListeners()