diff options
| author | Misko Hevery | 2010-08-18 18:15:19 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-08-18 18:15:19 -0700 | 
| commit | 9878355df7af29a621403f9303691f0f4d547624 (patch) | |
| tree | a939d9b3f651619711e7beaa9c0f2c4d278b981c /src/Parser.js | |
| parent | 625f32b7eb71647dfe12ec1b3fe9b9ae4736e8b3 (diff) | |
| download | angular.js-9878355df7af29a621403f9303691f0f4d547624.tar.bz2 | |
remove Parser static
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 {  | 
