Core: Remove core event/alias and deprecated module dependencies

This commit is contained in:
Alexander Schmitz 2015-05-13 22:03:32 -04:00
parent 5ee324dd72
commit 456c463a91

View File

@ -86,7 +86,7 @@ $.extend( $.ui, {
// Support: IE9 - 10 only // Support: IE9 - 10 only
// If the <body> is blurred, IE will switch windows, see #9420 // If the <body> is blurred, IE will switch windows, see #9420
if ( element && element.nodeName.toLowerCase() !== "body" ) { if ( element && element.nodeName.toLowerCase() !== "body" ) {
$( element ).blur(); $( element ).trigger( "blur" );
} }
}, },
@ -303,14 +303,14 @@ $.fn.extend( {
"mousedown"; "mousedown";
return function() { return function() {
return this.bind( eventType + ".ui-disableSelection", function( event ) { return this.on( eventType + ".ui-disableSelection", function( event ) {
event.preventDefault(); event.preventDefault();
} ); } );
}; };
} )(), } )(),
enableSelection: function() { enableSelection: function() {
return this.unbind( ".ui-disableSelection" ); return this.off( ".ui-disableSelection" );
} }
} ); } );