Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8803 closed feature (fixed)

jQuery.holdReady() method

Reported by: dmethvin Owned by:
Priority: blocker Milestone: 1.6
Component: event Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


Document this method for delaying ready event rather than exposing the jQuery.readyWait property and jQuery.ready() event handler. Docs draft is at api.jquery.com already.

Change History (4)

comment:1 Changed 12 years ago by dmethvin

Component: unfiledevent
Milestone: 1.next1.6
Priority: undecidedblocker

Originally part of #8145 but broken out for clarity.

comment:2 Changed 12 years ago by Rick Waldron

Keywords: needsdocs added

Added "needsdocs" tag for reporting

comment:3 Changed 12 years ago by Dave Methvin

Resolution: fixed
Status: newclosed

Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .

Changeset: 14193e449efe76105df61d745ebd7031dd7fe783

comment:4 Changed 12 years ago by addyosmani

Keywords: needsdocs removed

This was published a while back: http://api.jquery.com/jQuery.holdReady/

Note: See TracTickets for help on using tickets.