Adds value & charset optimizations.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 1 Oct 2014 09:59:35 +0000 (10:59 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Fri, 10 Oct 2014 20:22:45 +0000 (21:22 +0100)
commitc95c950eb6c281c8438a55c430251b70b10874df
tree3dbfbf594933168dbf9906944002437bad4507e9
parent6581b5a98ed67d290f0e2ebd56559d830dcda793
Adds value & charset optimizations.

* Re-implemented most of property values' minifications.
* Extra charset(s) are stripped and first one is moved to the beginning.
13 files changed:
lib/colors/hex-name-shortener.js [new file with mode: 0644]
lib/colors/hsl-to-hex.js [deleted file]
lib/colors/hsl.js [new file with mode: 0644]
lib/colors/long-to-short-hex.js [deleted file]
lib/colors/rgb-to-hex.js [deleted file]
lib/colors/rgb.js [new file with mode: 0644]
lib/colors/shortener.js [deleted file]
lib/selectors/optimizer.js
lib/selectors/optimizers/simple.js
test/colors/hex-name-shortener-test.js [new file with mode: 0644]
test/integration-test.js
test/selectors/optimizer-test.js
test/selectors/optimizers/simple-test.js