Side navigation
#12730 closed bug (worksforme)
Opened October 15, 2012 10:47AM UTC
Closed October 16, 2012 03:19PM UTC
JQuery adds indexOf to arrays in IE8
Reported by: | serhiy.prysyazhnyy@gmail.com | Owned by: | serhiy.prysyazhnyy@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
i have existing functionality with following code:
for (var ind in container)
{
var val = container[ind];
ProcessValue(val);
}
Now when I updated jquery, this code fails, because first index, found in object will be 'indexOf'.
Reproduced only in IE8;
Attachments (0)
Change History (3)
Changed October 15, 2012 12:42PM UTC by comment:1
owner: | → serhiy.prysyazhnyy@gmail.com |
---|---|
status: | new → pending |
Changed October 16, 2012 02:47PM UTC by comment:2
status: | pending → new |
---|
Here is sample http://jsfiddle.net/DsTVd/4/
But this issue is not reproduced on JQuery(edge).
Looks like I should update JQuery, it is already fixed.
Changed October 16, 2012 03:19PM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | new → closed |
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/. Open the link and click to "Fork" (in the top menu) to get started.