OK I just found out why. One of my project is a cross-browser userscript. Since GreaseMonkey runs userscripts only after the DOM is ready, I set jQuery.isReady to true when GreaseMonkey is detected, and that causes the function stacks never fired.
Now I realize jQuery.ready() is probably the correct method to do this. At the same time I suggest hiding the jQuery.isReady to avoid confusion. On Dec 17, 12:10 pm, John Resig <jere...@gmail.com> wrote: > It shouldn't make much difference either way but I moved the check. > The result should be a bit clearer > now:http://github.com/jquery/jquery/commit/9a0174b057ae58735c3c5f595e420c... > > --John > > On Wed, Dec 16, 2009 at 11:02 PM, helianthus > > > > <project.heliant...@gmail.com> wrote: > > But my code broke after switching from 1.4a1 to 1.4a2... > > and removing that check fixed it. > > I guess I have to check again what broke my code then. > > > On Dec 17, 11:25 am, John Resig <jere...@gmail.com> wrote: > >> That's not true - readyList is set to null inside of jQuery.ready() > >> once the queue has been emptied (the logic hasn't changed from when > >> the ready method was in event.js). > > >> --John > > >> On Wed, Dec 16, 2009 at 9:06 PM, helianthus > > >> <project.heliant...@gmail.com> wrote: > >> > At line 223 of core.js, > >> > readyList is an array, which will never be falsy, > >> > so the block will never be executed. > > >> > -- > > >> > You received this message because you are subscribed to the Google > >> > Groups "jQuery Development" group. > >> > To post to this group, send email to jquery-...@googlegroups.com. > >> > To unsubscribe from this group, send email to > >> > jquery-dev+unsubscr...@googlegroups.com. > >> > For more options, visit this group > >> > athttp://groups.google.com/group/jquery-dev?hl=en.-Hide quoted text - > > >> - Show quoted text - > > > -- > > > You received this message because you are subscribed to the Google Groups > > "jQuery Development" group. > > To post to this group, send email to jquery-...@googlegroups.com. > > To unsubscribe from this group, send email to > > jquery-dev+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/jquery-dev?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.