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/JSON.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/JSON.js')
| -rw-r--r-- | src/JSON.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/JSON.js b/src/JSON.js index 84c9a857..238ed489 100644 --- a/src/JSON.js +++ b/src/JSON.js @@ -38,7 +38,7 @@ toJsonArray = function(buf, obj, pretty){ buf.push('' + obj); } } else if (type === 'string') { - return buf.push(angular.String.quoteUnicode(obj)); + return buf.push(angular['String']['quoteUnicode'](obj)); } else if (type === 'object') { if (obj instanceof Array) { buf.push("["); @@ -56,7 +56,7 @@ toJsonArray = function(buf, obj, pretty){ } buf.push("]"); } else if (obj instanceof Date) { - buf.push(angular.String.quoteUnicode(angular.Date.toString(obj))); + buf.push(angular['String']['quoteUnicode'](angular['Date']['toString'](obj))); } else { buf.push("{"); if (pretty) buf.push(pretty); @@ -78,7 +78,7 @@ toJsonArray = function(buf, obj, pretty){ buf.push(","); if (pretty) buf.push(pretty); } - buf.push(angular.String.quote(key)); + buf.push(angular['String']['quote'](key)); buf.push(":"); toJsonArray(buf, value, childPretty); comma = true; |
