Skip to main content

Bug Tracker

Side navigation

#6168 closed feature (wontfix)

Opened February 24, 2010 08:14PM UTC

Closed February 26, 2010 08:20PM UTC

Add timer functionallity to core

Reported by: AzaToth Owned by:
Priority: Milestone: 1.4.2
Component: unfiled Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:

using window.setTimeout and window.setInterval feels wrong in a jQuery environment, and as well that different browsers has different support for functionality for them.

At the moment there are two different, and semi-usable plug-ins for timer functionality:

Attachments (0)
Change History (3)

Changed February 26, 2010 05:46PM UTC by john comment:1

resolution: → wontfix
status: newclosed

We already have a .delay() in core, this should serve as a good substitute for the times in which you need to delay some jQuery code.

Changed February 26, 2010 07:40PM UTC by AzaToth comment:2

resolution: wontfix
status: closedreopened

Documentation for .delay() states:

>jQuery.delay() is designed for delaying between queued jQuery effects, and is not a replacement for JavaScript's native setTimeout function, which may be more appropriate for certain use cases.

Changed February 26, 2010 08:20PM UTC by john comment:3

resolution: → wontfix
status: reopenedclosed

Sure - If you wish to have a discussion then please feel free to open it up for discussion in the forums. As it stands there are two plugins that cover the cases that jQuery doesn't handle explicitly and that seems more than sufficient. I don't particularly think this is appropriate for jQuery core, especially since there is no direct equivalent to working with DOM elements.