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

Bill Keese bill at dojotoolkit.org
Tue Mar 15 00:24:40 EDT 2011

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.

2011/3/15 Kris Zyp <kzyp at dojotoolkit.org>

>  On 3/11/2011 8:10 AM, Kris Zyp wrote:
> There are a couple of additional overarching goals that I would like to see
> pursued in 1.7. First, we should start using the has() pattern for feature
> detection branching in our code. Here is the ticket for (and explaining)
> this enhancement:
> http://bugs.dojotoolkit.org/ticket/12431
> Put together a patch for dojo/_base/array.js as an example upgrade to
> has().
> http://bugs.dojotoolkit.org/ticket/12431
> Let me know if you have any feedback before I go wild and start committing
> this stuff ;).
> Kris
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20110315/e7a4670d/attachment.htm 

More information about the dojo-contributors mailing list