Welcome to mirror list, hosted at ThFree Co, Russian Federation.

parseJSON.js « ajax « src « jquery « bower_components « libs - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 11918b06d6817bc7b258d96e94bf361b98fe70b4 (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;

} );