框架重构
清除多余的业务
This commit is contained in:
13
WebFirst/wwwroot/vendors/jquery/src/ajax/parseJSON.js
vendored
Normal file
13
WebFirst/wwwroot/vendors/jquery/src/ajax/parseJSON.js
vendored
Normal file
@@ -0,0 +1,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;
|
||||
|
||||
} );
|
||||
Reference in New Issue
Block a user