From f738ede352ecb5f1128d2c74c36f7d20f9a1d08b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 9 Jan 2015 12:51:32 -0800 Subject: Initialize more fields in Node. Better performance. --- js/lib/node.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js') diff --git a/js/lib/node.js b/js/lib/node.js index 7e236d0..81bda05 100644 --- a/js/lib/node.js +++ b/js/lib/node.js @@ -76,6 +76,8 @@ function Node(nodeType, pos) { this.list_data = undefined; this.tight = undefined; this.info = undefined; + this.destination = undefined; + this.title = undefined; } Node.prototype.isContainer = function() { -- cgit v1.2.3