Core: remove custom ready event

Fixes gh-2264
Close gh-2265
This commit is contained in:
Timmy Willison
2015-05-06 10:47:07 -07:00
parent 20aaed367f
commit c252c5fac2
2 changed files with 29 additions and 39 deletions

View File

@@ -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" );
}
}
});