zackify/legit.js — pull request #2 by melbournevijay (2014-12-21 23:13:17+00:00)
Title: use queryselectorall

As per my comment on your youtube channel:

hi zach, i have been playing with legit.js and lovin it.
However, the _('.someclass') notation seems to find only the first element with that class. have a look here http://codepen.io/vj/pen/FceEb?editors=101. there are 2 div's with the .another class, yet only one is being found/acted upon.
is it possible to use querySelectorAll, find the length of the node/array and then use a loop to find all elements? code sample?
sorry about my javascript terms, i am a complete novice to js.

Cheers,

Vj