Adds reducing non-adjacent selectors.
authorGoalSmashers <jakub@goalsmashers.com>
Thu, 31 Oct 2013 16:29:13 +0000 (17:29 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Sun, 3 Nov 2013 08:49:23 +0000 (09:49 +0100)
commit615b679141abc0d0e12c116c0926882c2e584b70
tree8a0f8109f69eb36519274effd7595f564a370961
parent1f71d7bcab1b66f301c74249a7701588d3dc8edd
Adds reducing non-adjacent selectors.

* Removes repeated properties in same selectors which are not next to each other.
* E.g. '.one{color:red;margin:0}.two{color:#fff}.one{margin:1px}' will become '.one{color:red}.two{color:#fff}.one{margin:1px}' because margin is repeated.
History.md
lib/properties/optimizer.js
lib/selectors/optimizer.js
test/data/big-min.css
test/data/blueprint-min.css
test/data/reset-min.css
test/unit-test.js