From b35bea14a9b1ff6b9ba96e0c51e21bfeecfc4c4a Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Wed, 6 May 2015 10:47:07 -0700 Subject: Core: remove custom ready event Fixes gh-2264 Close gh-2265 --- src/core/ready.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/core') diff --git a/src/core/ready.js b/src/core/ready.js index 2dfbc9180..70e9574cc 100644 --- a/src/core/ready.js +++ b/src/core/ready.js @@ -1,6 +1,5 @@ define([ "../core", - "../core/init", "../deferred" ], function( jQuery ) { @@ -54,12 +53,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" ); - } } }); -- cgit v1.2.3