diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 12:51:32 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 12:51:32 -0800 |
commit | f738ede352ecb5f1128d2c74c36f7d20f9a1d08b (patch) | |
tree | 761ef0a84892f51c4fa042344b05867d24ba472e | |
parent | 0fa08a7f89aa199b9cbd7214cdfd890d209e2214 (diff) |
Initialize more fields in Node. Better performance.
-rw-r--r-- | js/lib/node.js | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |