summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-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');