summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-09 19:20:42 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-09 19:20:42 -0800
commit1a034acee13576bc252ef1ca3f91d0d35ba9a85e (patch)
tree44be270476a6d80c56bd0e43adae5ff09b7d0ab2
parent8c7ca2e30044925bcf611ddc816580d6746c7101 (diff)
Updated renderAST in lib.
-rwxr-xr-xjs/lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/index.js b/js/lib/index.js
index 3ded1df..f1023c1 100755
--- a/js/lib/index.js
+++ b/js/lib/index.js
@@ -14,7 +14,7 @@
var util = require('util');
var renderAST = function(tree) {
- return util.inspect(tree, {depth: null});
+ return util.inspect(tree.toAST(), {depth: null});
};
module.exports.Node = require('./node');