rsandor/gury — Issue #14: .each should have a callback with index and object, not object and index
Author: mitar
Created: 2011-11-22 08:17:00+00:00
State: open

``.each`` currently uses a callback where arguments are in order object, index, but jQuery for its ``.each`` uses first index and then object. It is really unintuitive to use different arguments order in the code for a similar method, so I would propose an API change, ``.each`` should use a callback with arguments in order same as in jQuery: first index, then object.