mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
PERF: remove jQuery.UI monkey patch
This commit is contained in:
parent
c9bd12c429
commit
d60c7966eb
1 changed files with 3 additions and 0 deletions
|
@ -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 ],
|
||||||
|
|
Loading…
Reference in a new issue