Fwd: [dojo-contributors] [feedback wanted] Preferred Iteration forms

Alex Russell alex at dojotoolkit.org
Mon Apr 3 17:28:20 EDT 2006


So just implement your own forEach() method with the same signature.

On Monday 03 April 2006 2:26 pm, Tom Trenka wrote:
> Including the dojo.lang dependency will add 327 lines of code plus
> the overhead of the dojo.require statements (if not used as part of a
> build package).  So adding dojo.lang.forEach may *seem* like a
> convenience but it adds a bit of overhead.
>
> Once again, there's no reason why you couldn't use dojo.lang.forEach
> on your own if you wanted to use that in conjunction with the
> Collections code.

-- 
Alex Russell
alex at jot.com
alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20060403/1e34391e/attachment.sig 


More information about the dojo-contributors mailing list