mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 05:43:43 +08:00
PERF: remove jQuery.UI monkey patch
This commit is contained in:
@ -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 ],
|
||||||
|
Reference in New Issue
Block a user