mirror of
https://github.com/jquery/jquery.git
synced 2026-02-09 08:45:13 -05:00
14 lines
222 B
JavaScript
14 lines
222 B
JavaScript
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;
|
|
|
|
});
|