diff options
Diffstat (limited to 'src/Parser.js')
| -rw-r--r-- | src/Parser.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Parser.js b/src/Parser.js index 681aee6a..eacbf117 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -224,7 +224,7 @@ function Parser(text, parseStrings){ this.index = 0; } -Parser.ZERO = function(){ +ZERO = function(){ return 0; }; @@ -452,7 +452,7 @@ Parser.prototype = { if (this.expect('+')) { return this.primary(); } else if (token = this.expect('-')) { - return this._binary(Parser.ZERO, token.fn, this.unary()); + return this._binary(ZERO, token.fn, this.unary()); } else if (token = this.expect('!')) { return this._unary(token.fn, this.unary()); } else { |
