Improves selector cleanup.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 7 Dec 2014 21:44:58 +0000 (21:44 +0000)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 8 Dec 2014 09:42:55 +0000 (09:42 +0000)
commit16642d2a772c31a947ca23d4dc05cb2a50df276d
tree116fe843ef79d018b01fbf354329bea798df9e4f
parent1f55663b7a6e24188ad9089db2fefd205ce56434
Improves selector cleanup.

* Removes unnecessary regexp.
* Does cleanup and removal of non-understandable selectors in one pass.
lib/selectors/optimizers/advanced.js
lib/selectors/optimizers/clean-up.js
lib/selectors/optimizers/simple.js