aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/parse.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-27 10:21:49 -0700
committerIgor Minar2012-03-28 16:30:38 -0700
commit87f5c6e5b716100e203ec59c5874c3e927f83fa0 (patch)
tree84f2953b17d9ef5b9ddc4bde298adea9f503b3bd /src/ng/parse.js
parenta8a750ab05bdff73ba3af0b98f3f284ff8d1e743 (diff)
downloadangular.js-87f5c6e5b716100e203ec59c5874c3e927f83fa0.tar.bz2
refactor(fromJson): always use native JSON.parse
This breaks IE7 for which you can use polyfill: https://github.com/douglascrockford/JSON-js <!--[if lt IE 8]> <script src="json2.min.js"></script> <![endif]--> or http://bestiejs.github.com/json3/ <!--[if lt IE 8]> <script src="json3.min.js"></script> <![endif]-->
Diffstat (limited to 'src/ng/parse.js')
-rw-r--r--src/ng/parse.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ng/parse.js b/src/ng/parse.js
index 47c5188e..cd60bc83 100644
--- a/src/ng/parse.js
+++ b/src/ng/parse.js
@@ -752,9 +752,3 @@ function $ParseProvider() {
};
}];
}
-
-
-// This is a special access for JSON parser which bypasses the injector
-var parseJson = function(json) {
- return parser(json, true);
-};