[jQuery] Re: invalid array length wit jquery.extend

2009-02-24 Thread morgancodes
Cool. Thanks for the ticket. On Feb 23, 7:03 pm, Dave Methvin wrote: > If the object has a length property, it is assumed to be Array-like. > There are several Objects that have Array-like behavior, like jQuery > objects, DOM NodeList objects, and Function.arguments. > > In this case, you've spe

[jQuery] Re: invalid array length wit jquery.extend

2009-02-23 Thread Dave Methvin
If the object has a length property, it is assumed to be Array-like. There are several Objects that have Array-like behavior, like jQuery objects, DOM NodeList objects, and Function.arguments. In this case, you've specified a deep copy so when $.extend sees the nested object in prop it thinks the