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: |
Description
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
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
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
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
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.
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.