Changeset [110d84fd6b9783ece654868791bf7d47ad61ccb8] by Arthur Schreiber

March 14th, 2010 @ 07:02 PM

Make all #_each Methods match behavior of Array#forEach according to the ES5 spec (see #554).

This change breaks backwards compatibility, as User defined classes will have to update their #_each implementations, but improves performance of all enumeration methods and thus is propably worth it.
https://github.com/samleb/prototype/commit/110d84fd6b9783ece6548687...

Committed by Arthur Schreiber

  • M src/ajax/responders.js
  • M src/lang/array.js
  • M src/lang/enumerable.js
  • M src/lang/hash.js
  • M src/lang/range.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins