From 87f5c6e5b716100e203ec59c5874c3e927f83fa0 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 27 Mar 2012 10:21:49 -0700 Subject: refactor(fromJson): always use native JSON.parse This breaks IE7 for which you can use polyfill: https://github.com/douglascrockford/JSON-js or http://bestiejs.github.com/json3/ --- src/ng/parse.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ng/parse.js') 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); -}; -- cgit v1.2.3