summaryrefslogtreecommitdiff
path: root/js/lib/node.js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-09 14:15:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-09 14:15:59 -0800
commit9d005eab33db7b31edca49982398c666ccc27567 (patch)
treef4e068d719ca77b28bc457610aac2d1c26e1d977 /js/lib/node.js
parent0d9c230a46f1bf79d4be81cb42cfaebc6f5b5ced (diff)
Don't initialize strings, string_content to defined value.
Diffstat (limited to 'js/lib/node.js')
-rw-r--r--js/lib/node.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/node.js b/js/lib/node.js
index 5e5d5b0..c160cc5 100644
--- a/js/lib/node.js
+++ b/js/lib/node.js
@@ -70,8 +70,8 @@ function Node(nodeType, pos) {
this.pos = pos || {};
this.last_line_blank = false;
this.open = true;
- this.strings = [];
- this.string_content = "";
+ this.strings = undefined;
+ this.string_content = undefined;
this.c = undefined;
this.list_data = undefined;
this.info = undefined;