Fixes #85 - adds resolving protocol @import statements.
authorGoalSmashers <jakub@goalsmashers.com>
Tue, 10 Dec 2013 12:14:54 +0000 (13:14 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Mon, 6 Jan 2014 18:37:35 +0000 (19:37 +0100)
commit2b2b586251efa8f355fd575d1bb92f4470cd687b
tree13440fabdd4e9c7137decc71cd8a205add1a95be
parent394e9fff83faf3cffb0f428fd0cd757e67467020
Fixes #85 - adds resolving protocol @import statements.

* Rewrote inliner to process data asynchronously.
* Supports 2xx responses, redirects, errors, and timeouts.
* Supports cyclical references.
* Supports protocol-less requests (defaults to HTTP).
* Supports overriding request options - see http://nodejs.org/api/http.html#http_http_request_options_callback
* Supports timeout in ./bin/cleancss via --timeout / -t switches.
* Supports inlining local resources only without a callback.
* Supports rebasing URLs in remote @imports.
* Always triggers a callback asynchronously.
12 files changed:
History.md
bin/cleancss
lib/clean.js
lib/images/url-rewriter.js
lib/imports/inliner.js
package.json
test/batch-test.js
test/bench.js
test/binary-test.js
test/module-test.js
test/protocol-imports-test.js [new file with mode: 0644]
test/unit-test.js