Bug Tracker

Modify

Ticket #8803 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

jQuery.holdReady() method

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

Description

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

comment:1 Changed 3 years ago by dmethvin

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

Originally part of #8145 but broken out for clarity.

comment:2 Changed 3 years ago by rwaldron

  • Keywords needsdocs added

Added "needsdocs" tag for reporting

comment:3 Changed 3 years ago by Dave Methvin

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

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 3 years ago by addyosmani

  • Keywords needsdocs removed

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.