Permalink
Browse files

fix builder example

  • Loading branch information...
1 parent 350b4ca commit 812345b0f1e07f15f7c4031e4f87c5016a74e62f @zaach zaach committed Aug 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -39,7 +39,7 @@ The reflect.js module exports the [default builder](https://raw.github.com/zaach
// redefine callback for variable declarations
builder["variableDeclaration"] = function (kind, declarators, loc) { ... };
- var ast = Reflect.parse("var a = 4 + 7", builder);
+ var ast = Reflect.parse("var a = 4 + 7", {builder: builder});
License
=======

0 comments on commit 812345b

Please sign in to comment.