id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blocking,blockedby
5673,ready() callbacks fire inline after load,SidneySM,brandon,"When an event listener is installed, the expectation is that the callback will fire sometime after the currently-executing code.

Because of this, some developers may have setup code ''after'' a call to .ready().

If this all happens before the ready event, it's not a problem, but if the ready event has already fired, the callback happens immediately (see [http://dev.jquery.com/browser/tags/1.3.2/src/event.js?order=date#L536 here in 1.3.2]) and code written this way will break.

It makes sense to do
{{{
setTimeout(function(){ this.call( document, jQuery) }, 0);
}}}
or similar so that the behavior of .ready() is consistent.",bug,closed,minor,1.4,event,1.4a1,duplicate,isReady ready event,,,
