Fix issue with pseudo selector replacement failure. #4

merged 1 commit into from Feb 14, 2013

2 participants


This is to fix the issue that I
I added a new css rule to the tests:

ul li a:active {

And changed the call to remove pseudo selectors from the css rule to be agnostic of the actual pseudo condition:

query = rule.replace(/:[\w]*/g,'')

Changed the tests to expect a new matching rule. All green

Cleaned up extra spaces at ends of line.

@brianleroux brianleroux merged commit 62a2ebf into brianleroux:master Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment