Skip to main content

Bug Tracker

Side navigation

#8803 closed feature (fixed)

Opened April 07, 2011 03:00PM UTC

Closed April 07, 2011 03:30PM UTC

Last modified May 18, 2011 06:24AM UTC

jQuery.holdReady() method

Reported by: dmethvin Owned by:
Priority: blocker Milestone: 1.6
Component: event Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
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.

Attachments (0)
Change History (4)

Changed April 07, 2011 03:01PM UTC by dmethvin comment:1

component: unfiledevent
milestone: 1.next1.6
priority: undecidedblocker

Originally part of #8145 but broken out for clarity.

Changed April 07, 2011 03:10PM UTC by rwaldron comment:2

keywords: → needsdocs

Added "needsdocs" tag for reporting

Changed April 07, 2011 03:30PM UTC by Dave Methvin comment:3

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

Changed May 18, 2011 06:24AM UTC by addyosmani comment:4

keywords: needsdocs

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