Side navigation
#3241 closed enhancement (fixed)
Opened August 11, 2008 12:42AM UTC
Closed August 11, 2008 12:54AM UTC
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: | ||
Blocked by: | Blocking: |
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.