Modify ↓
Ticket #3241 (closed enhancement: fixed)
Why setting the length to 0 on jQuery's prototype ?
| Reported by: | flesler | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | core | Version: | 1.2.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I think this is rather useless: Line 93 & 94.
// The number of elements contained in the matched element set length: 0,
I recall this causing me problems when iterating the prototype. Can't reproduce that though. Still, seems like useless code. All the tests pass without that.
Attachments
Change History
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.

