2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

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