GITLAB

OTHER_COMPANY_PROJECTS / ota

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • ota
  • vendor
  • bower
  • jquery
  • src
  • ajax
  • parseJSON.js
  • cfe42223   提交初始代码 Browse Code »
    曹明
    2019-10-25 19:19:42 +0800  
parseJSON.js 224 Bytes
Edit Raw Blame History Permalink
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;

} );