summaryrefslogtreecommitdiff
path: root/source/bower_components/jquery/src/ajax/parseJSON.js
blob: 3a96d15b9d2c0beacacc072277f41de7ac231f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
define([
	"../core"
], function( jQuery ) {

// Support: Android 2.3
// Workaround failure to string-cast null input
jQuery.parseJSON = function( data ) {
	return JSON.parse( data + "" );
};

return jQuery.parseJSON;

});