Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 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 5 years ago by dmethvin

  • Component changed from unfiled to event
  • Milestone changed from 1.next to 1.6
  • Priority changed from undecided to blocker

Originally part of #8145 but broken out for clarity.

comment:2 Changed 5 years ago by rwaldron

  • Keywords needsdocs added

Added "needsdocs" tag for reporting

comment:3 Changed 5 years ago by Dave Methvin

  • Resolution set to fixed
  • Status changed from new to closed

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 5 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.