This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
Releases: filamentgroup/loadCSS
Releases · filamentgroup/loadCSS
0.2.0
- Dramatically reduced filesize after minification (thanks @dlemstra!)
- Improved default handling of where the link is injected so that the loaded CSS ends up after all JS and CSS in the page by default (thanks @paulirish!). Formerly, it injected the stylesheet just before the first
script
element in the page by default, which could have been before the last stylesheet orstyle
element. Thebefore
argument is still available for fine-tuning injection location. - The previously deprecated
callback
argument is removed. onloadCSS extension is a normalized replacement for it. - Improved documentation and browser support table in Readme
Version 0.1.7
This release includes support for relative paths to CSS files, and some Readme updates to clarify that we recommend using the before
argument when possible, and that the callback
argument was deprecated.
Version 0.1.6
- Adds
onloadCSS
utility for onload callbacks. Documentation available on README.
https://github.com/filamentgroup/loadCSS/issues?q=milestone%3A0.1.6+is%3Aclosed
Version 0.1.5
Fixes issues with relative paths.
https://github.com/filamentgroup/loadCSS/issues?q=milestone%3A0.1.5+is%3Aclosed
version 0.1.2
This release ensures the ability for CSS to be requested asynchronously in high-latency network conditions.
Other small changes include the removal of the minified file and associated files.