Refactors source map tracking to allow multiple origins.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 12 Apr 2015 15:47:56 +0000 (16:47 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 12 Apr 2015 16:58:57 +0000 (17:58 +0100)
commit010e53b0d40230eab73acc268717a2fd1828383a
treeba5524b13e66e28a932e61ee03ad9531773e5801
parent184fc601ff5e872f54020e660705d822f7afc20a
Refactors source map tracking to allow multiple origins.

See https://github.com/jakubpawlowicz/clean-css/issues/414#issuecomment-71010841
as a reference.

It allows introduced properties to have a mapping to many individual components.
lib/properties/optimizer.js
lib/properties/shorthand-compactor.js
lib/selectors/tokenizer.js
lib/stringifier/source-maps.js
test/properties/shorthand-compacting-source-maps-test.js [new file with mode: 0644]
test/selectors/tokenizer-source-maps-test.js
test/source-map-test.js