Modify ↓
Ticket #5528 (closed bug: fixed)
jQuery.makeArray( nodeList )
| Reported by: | rkatic | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | nodelist, array | Cc: | |
| Blocking: | Blocked by: |
Description
Unlike jQuery.merge, makeArray is not safe from nodeLists which length expando is overrided.
Change History
comment:2 Changed 3 years ago by john
- Status changed from new to closed
- Resolution set to fixed
Landed: http://github.com/jquery/jquery/commit/ac00fe5bbb2a95fdb747f76fd9dd7c58ba6a531c
Thanks for the patch!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Patch