aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisko Hevery2010-08-18 18:15:19 -0700
committerMisko Hevery2010-08-18 18:15:19 -0700
commit9878355df7af29a621403f9303691f0f4d547624 (patch)
treea939d9b3f651619711e7beaa9c0f2c4d278b981c
parent625f32b7eb71647dfe12ec1b3fe9b9ae4736e8b3 (diff)
downloadangular.js-9878355df7af29a621403f9303691f0f4d547624.tar.bz2
remove Parser static
-rw-r--r--src/Parser.js4
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 {