From 94a9367a076da69bfb9a473b6525b6fe43b1e5ce Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 19 May 2015 14:05:12 +0800 Subject: [PATCH] src/JsRender/Node.vala --- src/JsRender/Node.vala | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/JsRender/Node.vala b/src/JsRender/Node.vala index ff2f6698b..a05accb60 100644 --- 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 Gee.ArrayList lines; + public Gee.HashMap line_map; - public Gee.HashMap proplines; - public Gee.HashMap listenlines; public Node() @@ -120,12 +120,13 @@ public class JsRender.Node : Object { this.parent = null; this.line_start = -1; this.line_end = -1; - this.proplines = new Gee.HashMap(); - this.listenlines = Gee.HashMap(); + this.lines = new Gee.ArrayList(); + this.line_map = new Gee.HashMap(); } + public string uid() { if (this.props.get("id") == null) { -- 2.39.2