Side navigation
#5002 closed bug (duplicate)
Opened August 03, 2009 12:17AM UTC
Closed October 28, 2010 04:15AM UTC
Last modified November 02, 2010 02:07AM UTC
$.EACH utility LENGTH property bug
Reported by: | mruzicka | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | 1.3.2 |
Keywords: | each loop length | Cc: | |
Blocked by: | Blocking: |
Description
When using $.each utility on object with .length property $.each function fails to run.
Attachments (0)
Change History (8)
Changed August 03, 2009 12:29AM UTC by comment:1
Changed August 03, 2009 12:47AM UTC by comment:2
Probably fixed in SVN now http://dev.jquery.com/ticket/2827
But still this seems to me quite weirdo way, how to find out, that something is not array...
core.js: 356: isObj = length === undefined || jQuery.isFunction(object)
aflesler 20.6.2009 16:51:19
jquery core: Closes #2827. jQuery.each iterates over functions
Changed August 09, 2009 12:43AM UTC by comment:3
component: | unfilled → core |
---|---|
priority: | critical → major |
$.each wants to treat array-like objects as arrays, e.g. nodelists and function arguments.
Changed October 28, 2010 04:11AM UTC by comment:4
keywords: | each, loop, length → each, loop, length needsreview |
---|---|
status: | new → open |
Changed October 28, 2010 04:11AM UTC by comment:5
milestone: | 1.3.2 |
---|
Changed October 28, 2010 04:15AM UTC by comment:6
resolution: | → duplicate |
---|---|
status: | open → closed |
Changed November 02, 2010 02:07AM UTC by comment:8
keywords: | each, loop, length needsreview → each loop length |
---|
When using $.each utility on object with .length property $.each function fails to run.
ITS FREAKING CRITICAL LINE 666 BUG RAISED FROM HELL!