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:
4dccdd5
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 1 Jun 2015 10:09:43 +0000
(18:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 1 Jun 2015 10:09:43 +0000
(18:09 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
263e3dc
..
ec01b0e
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-196,7
+196,7
@@
public class JsRender.NodeToVala : Object {
}
public void addMultiLine(string str= "")
{
- var l = this.cur_line;
+
this.cur_line += str.split("\n").length;
//this.ret += "/*%d*/ ".printf(l) + str + "\n";
this.ret += str + "\n";