ericclemmons/unique-selector — pull request #6 by jkroso (2013-02-28 09:38:32+00:00)
Title: Fix nth-child bug

There was a problem with the way you were doing the nth-child thing.
nth-child filters for elements that are an nth child. e.g:

results.filter(function(el){
return el.parentElement.children[n] === el
})

this meant that if not all element siblings shared the same classlist
etc.. you would end up with an incorrect selector.

The later commits are just general tidying up and optimisation.