mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Core: remove custom ready event
Fixes gh-2264 Close gh-2265
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
define([
|
||||
"../core",
|
||||
"../var/document",
|
||||
"../core/init",
|
||||
"../deferred"
|
||||
], function( jQuery, document ) {
|
||||
|
||||
@@ -50,12 +49,6 @@ jQuery.extend({
|
||||
|
||||
// If there are functions bound, to execute
|
||||
readyList.resolveWith( document, [ jQuery ] );
|
||||
|
||||
// Trigger any bound ready events
|
||||
if ( jQuery.fn.triggerHandler ) {
|
||||
jQuery( document ).triggerHandler( "ready" );
|
||||
jQuery( document ).off( "ready" );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user