projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e798e05
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 06:32:36 +0000
(14:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 06:32:36 +0000
(14:32 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
adb4527
..
4d718ee
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-192,9
+192,9
@@
public class JsRender.NodeToVala : Object {
}
public void addMultiLine(string str= "")
{
-
//this.cur_line++
;
+
var l = this.cur_line
;
this.cur_line += str.split("\n").length;
- this.ret += "/*%d*/ ".printf(
this.cur_line-1
) + str + "\n";
+ this.ret += "/*%d*/ ".printf(
l
) + str + "\n";
}