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:
a426b2d
)
src/JsRender/Node.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 06:05:12 +0000
(14:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 May 2015 06:05:12 +0000
(14:05 +0800)
src/JsRender/Node.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/Node.vala
b/src/JsRender/Node.vala
index
ff2f669
..
a05accb
100644
(file)
--- a/
src/JsRender/Node.vala
+++ b/
src/JsRender/Node.vala
@@
-104,9
+104,9
@@
public class JsRender.Node : Object {
public string xvala_id; // item id or ""
public int line_start;
public int line_end;
public string xvala_id; // item id or ""
public int line_start;
public int line_end;
+ public Gee.ArrayList<int> lines;
+ public Gee.HashMap<int,string> line_map;
- public Gee.HashMap<string,int> proplines;
- public Gee.HashMap<string,int> listenlines;
public Node()
public Node()
@@
-120,12
+120,13
@@
public class JsRender.Node : Object {
this.parent = null;
this.line_start = -1;
this.line_end = -1;
this.parent = null;
this.line_start = -1;
this.line_end = -1;
- this.
proplines = new Gee.HashMap<string,int>
();
- this.li
stenlines = Gee.HashMap<string,int
>();
+ this.
lines = new Gee.ArrayList
();
+ this.li
ne_map = new Gee.HashMap<int,string
>();
}
}
+
public string uid()
{
if (this.props.get("id") == null) {
public string uid()
{
if (this.props.get("id") == null) {