diff options
Diffstat (limited to 'src/Scope.js')
-rw-r--r-- | src/Scope.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Scope.js b/src/Scope.js index c7de097b..0c6205a5 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -90,9 +90,9 @@ function expressionCompile(exp){ if (typeof exp === $function) return exp; var fn = compileCache[exp]; if (!fn) { - var parser = new Parser(exp); - var fnSelf = parser.statements(); - parser.assertAllConsumed(); + var p = parser(exp); + var fnSelf = p.statements(); + p.assertAllConsumed(); fn = compileCache[exp] = extend( function(){ return fnSelf(this);}, {fnSelf: fnSelf}); |