PERF: remove jQuery.UI monkey patch

This commit is contained in:
Sam 2014-03-10 09:48:37 +11:00
parent c9bd12c429
commit d60c7966eb

View file

@ -20,6 +20,8 @@
}(function( $, undefined ) { }(function( $, undefined ) {
// jQuery 1.4+ // jQuery 1.4+
// See: https://github.com/blueimp/jQuery-File-Upload/issues/3013#issuecomment-37067816
/*
if ( $.cleanData ) { if ( $.cleanData ) {
var _cleanData = $.cleanData; var _cleanData = $.cleanData;
$.cleanData = function( elems ) { $.cleanData = function( elems ) {
@ -49,6 +51,7 @@ if ( $.cleanData ) {
}); });
}; };
} }
*/
$.widget = function( name, base, prototype ) { $.widget = function( name, base, prototype ) {
var namespace = name.split( "." )[ 0 ], var namespace = name.split( "." )[ 0 ],