batmanjs/batman — pull request #908 by nsimmons (2013-11-23 16:38:45+00:00)
Title: Added indexOf filter

Closes #575

Adding indexOf filter from Shopify. I think this adds value and provides a built-in solution to the problem of accessing the current index in a data-foreach, as highlighted by @meskyanichi.

How do you guys feel about the interface? Should the collection or current value be listed as the first argument?

@pushrax @angelini