component/indexof — pull request #1 by ianstormtaylor (2013-06-07 20:08:05+00:00)
Title: handle node lists, added tests

not sure if you want to support this, but i also think its pretty annoying that node lists dont have indexof or any of the array methods, so it would be helpful to have it here.

either way, added tests. i can re-pull with them without node list if you dont want it too