summaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-11 20:24:46 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-11 20:24:46 -0800
commit0905b173c63f902e6d7b51c948c8110e398a3742 (patch)
treeb4a53adeb6e2dcb1b7187246872de31044753998 /js/lib
parent0c0ae7a0962a7dce1b3328d95d96b9fde6c6cc52 (diff)
node.js: Added title and destination to list of props to show in toAST.
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/node.js b/js/lib/node.js
index ae02838..c8b31f0 100644
--- a/js/lib/node.js
+++ b/js/lib/node.js
@@ -167,7 +167,7 @@ Node.prototype.walker = function() {
var toASTNode = function(node) {
var result = {};
var propsToShow = ['t', 'literal', 'list_data', 'sourcepos',
- 'info', 'level'];
+ 'info', 'level', 'title', 'destination'];
for (var i = 0, len = propsToShow.length; i < len; i++) {
var prop = propsToShow[i];