summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2015-01-09 17:29:09 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-01-09 17:29:09 -0800
commit9bf2a0b1bcaff8f6c00d68cf40a99e4adebcb99b (patch)
tree50788c58e51c50413106d131c73d93d3f47835c6
parent675c2640755ecf3fa7978e16d61261f64fd75e65 (diff)
Don't include string_content in output of toAST().
-rw-r--r--js/lib/node.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/lib/node.js b/js/lib/node.js
index c160cc5..da33b9e 100644
--- a/js/lib/node.js
+++ b/js/lib/node.js
@@ -167,8 +167,7 @@ Node.prototype.toAST = function() {
var cur;
var result = { t: this.t };
- var propsToShow = ['t', 'c', 'list_data', 'string_content',
- 'pos', 'info', 'level'];
+ var propsToShow = ['t', 'c', 'list_data', 'pos', 'info', 'level'];
for (var i = 0; i < propsToShow.length; i++) {
var prop = propsToShow[i];