aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/parseJSON.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-07-20 19:24:46 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-09-14 21:26:48 +0200
commitce3b4a62427c5a3a6669dcb8bf8e27a6287990d5 (patch)
tree2b50ed87d23df888f5fcc299d7108b23bdbc3e56 /src/ajax/parseJSON.js
parent64fd7ef3d081b5c65d541237f73a4d89f0f0ad7b (diff)
downloadjquery-ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5.tar.gz
jquery-ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5.zip
Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support
Drop non-critical workarounds for Android 2.3. Fixes gh-2483 Fixes gh-2505 Closes gh-2581
Diffstat (limited to 'src/ajax/parseJSON.js')
-rw-r--r--src/ajax/parseJSON.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ajax/parseJSON.js b/src/ajax/parseJSON.js
index 11918b06d..c2aeb6aae 100644
--- a/src/ajax/parseJSON.js
+++ b/src/ajax/parseJSON.js
@@ -2,11 +2,7 @@ define( [
"../core"
], function( jQuery ) {
-// Support: Android 2.3
-// Workaround failure to string-cast null input
-jQuery.parseJSON = function( data ) {
- return JSON.parse( data + "" );
-};
+jQuery.parseJSON = JSON.parse;
return jQuery.parseJSON;