Adding support for bower and reorganizing so when its used via bower it will be manageable for a dev.
This commit is contained in:
13
bower_components/jquery/src/ajax/parseJSON.js
vendored
Normal file
13
bower_components/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