diff options
| author | Misko Hevery | 2010-01-10 08:58:57 -0800 |
|---|---|---|
| committer | Misko Hevery | 2010-01-10 08:58:57 -0800 |
| commit | 1aba6b53b88c70b61a0cc991b1371739305d117b (patch) | |
| tree | d1d21efbd2df191824b7a02020190df0195f2fbb /src/Parser.js | |
| parent | 9b9a0dadcce82ae42ac09ad396d647739af20a06 (diff) | |
| download | angular.js-1aba6b53b88c70b61a0cc991b1371739305d117b.tar.bz2 | |
basic calculator works with minified.js, lots of references still broken
Diffstat (limited to 'src/Parser.js')
| -rw-r--r-- | src/Parser.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Parser.js b/src/Parser.js index b23215be..cdece11e 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -185,7 +185,7 @@ Lexer.prototype.readString = function(quote) { this.tokens.push({index:start, text:string, fn:function(){ return (string.length == dateParseLength) ? - angular.String.toDate(string) : string; + angular['String']['toDate'](string) : string; }}); return; } else { @@ -346,11 +346,11 @@ Parser.prototype.filterChain = function(){ }; Parser.prototype.filter = function(){ - return this._pipeFunction(angular.filter); + return this._pipeFunction(angular['filter']); }; Parser.prototype.validator = function(){ - return this._pipeFunction(angular.validator); + return this._pipeFunction(angular['validator']); }; Parser.prototype._pipeFunction = function(fnScope){ @@ -697,7 +697,7 @@ Parser.prototype.entityDecl = function () { self.scope.set(instance, document); return "$anchor." + instance + ":{" + instance + "=" + entity + ".load($anchor." + instance + ");" + - instance + ".$$anchor=" + angular.String.quote(instance) + ";" + + instance + ".$$anchor=" + angular['String']['quote'](instance) + ";" + "};"; } else { return ""; |
