Fix stupid mistakes in the |buildNodeVisitor| function

This commit is contained in:
David Majda 2010-08-21 11:54:35 +02:00
parent 1b75a7b9b3
commit 906488027b

View file

@ -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);
}
}