Permalink
Browse files

Fix stupid mistakes in the |buildNodeVisitor| function

  • Loading branch information...
1 parent 1b75a7b commit 906488027b2077e8a2827d2620c606965b8f2c2e @dmajda dmajda committed Aug 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/utils.js
View
2 src/utils.js
@@ -82,6 +82,6 @@ function quoteForRegexpClass(s) {
*/
function buildNodeVisitor(functions) {
return function(node) {
- functions[node.type].apply(null, arguments));
+ return functions[node.type].apply(null, arguments);
}
}

0 comments on commit 9064880

Please sign in to comment.