- 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