Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6168 closed feature (wontfix)

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:

http://plugins.jquery.com/project/timers http://benalman.com/projects/jquery-dotimeout-plugin/

Change History (3)

comment:1 Changed 13 years ago by john

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.

comment:2 Changed 13 years ago by AzaToth

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.

comment:3 Changed 13 years ago by john

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.

Note: See TracTickets for help on using tickets.