[dojo-contributors] Dojo 1.7 Goals: has() and granular dependency lists

Kris Zyp kzyp at dojotoolkit.org
Tue Mar 15 09:13:08 EDT 2011


On 3/14/2011 10:24 PM, Bill Keese wrote:
> Doesn't your patch break backwards-compatibility?     Note the comment
> in all the methods in the current code:
>
> //This method corresponds to the JavaScript 1.6 Array.indexOf method,
> with one difference: when
>
> //run over sparse arrays, the Dojo function invokes the callback for
> every index whereas JavaScript
>
> //1.6's indexOf skips the holes in the sparse array.
>
>

I didn't write any new code, I just switched from the old build pragma
to has() branching. If it is not backwards-compatible, it hasn't been
backwards-compatible for sometime... So it is backwards-compatible with
the old backwards-incompatibility ;).

Kris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20110315/c8d1e2e6/attachment-0001.htm 


More information about the dojo-contributors mailing list