Unifies wrappers for simple & advanced optimizations.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Fri, 10 Jul 2015 06:54:06 +0000 (07:54 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 22 Jul 2015 07:00:42 +0000 (08:00 +0100)
commit4fed29d8989494ef423163bacfe75d0472a6ff0a
tree9bf5c86ae09c8333fe64c0dea3d4ab420b5ff797
parent0c3156caf001fc1274fba46561c39e7614cdfd7a
Unifies wrappers for simple & advanced optimizations.

Previously we had two wrappings, one for simple optimizations (just importance
and hacks), and other for advanced optimizations.

Right now it's just one (the latter) with simple optimizations adapted to
use the wrapping. This way it's more readable & prepares us for simplifying
the code further.
24 files changed:
History.md
lib/clean.js
lib/properties/optimizer.js
lib/properties/override-compactor.js
lib/properties/restore-from-optimizing.js [new file with mode: 0644]
lib/properties/restore-shorthands.js [deleted file]
lib/properties/shorthand-compactor.js
lib/properties/wrap-for-optimizing.js
lib/selectors/optimization-metadata.js [deleted file]
lib/selectors/simple.js
lib/stringifier/helpers.js
test/properties/longhand-overriding-test.js
test/properties/optimizer-test.js
test/properties/override-compacting-test.js
test/properties/populate-components-test.js
test/properties/restore-from-optimizing-test.js [new file with mode: 0644]
test/properties/restore-shorthands-test.js [deleted file]
test/properties/shorthand-compacting-source-maps-test.js
test/properties/shorthand-compacting-test.js
test/properties/wrap-for-optimizing-test.js
test/selectors/extractor-test.js
test/selectors/optimization-metadata-test.js [deleted file]
test/selectors/simple-test.js
test/test-helper.js