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:
bb8b289
)
src/JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 04:40:58 +0000
(12:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 04:40:58 +0000
(12:40 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
4f8a7af
..
baf9a7e
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-25,7
+25,8
@@
public class JsRender.NodeToVala : Object {
string xcls;
string ret;
- int line;
+
+ int cur_line;
Gee.ArrayList<string> ignoreList;
Gee.ArrayList<string> ignoreWrappedList;
@@
-50,7
+51,7
@@
public class JsRender.NodeToVala : Object {
this.cls = node.xvala_cls;
this.xcls = node.xvala_xcls;
this.ret = "";
-
this.line = parent
.line;
+
node.line = parent == null ? 0 :
.line;
this.top = parent == null ? this : parent.top;
this.ignoreList = new Gee.ArrayList<string>();
this.ignoreWrappedList = new Gee.ArrayList<string>();