Commit Graph

35 Commits

Author SHA1 Message Date
Ben Zörb
e37904080a
Switched to jsdom (#240) 2018-12-30 23:41:29 +01:00
bezoerb
226bf160ea fix: prevent multiple loadcss includes 2018-12-20 07:18:51 +01:00
bezoerb
44c0cd38dd feature: compare/check already inlined styles 2018-12-19 22:32:55 +01:00
bezoerb
0870adc94e feature: drop cave in favour of postcss-discard 2018-12-19 16:40:28 +01:00
bezoerb
f813627ad0 Move tests to Jest 2018-12-18 12:51:30 +01:00
bezoerb
74fcf95a4a Add temporary fix for breaking svgs 2018-11-29 17:35:58 +01:00
bezoerb
a40003d30d add another svg test 2018-11-28 16:52:48 +01:00
bezoerb
c10a6a2bfd Add another SVG Test 2018-11-18 23:16:00 +01:00
Ben Zörb
dae89bd655 Bump dependencies 2018-06-13 05:44:18 +02:00
Ben Zörb
a3e33fcd2b Test existance of extracted stylesheets 2018-04-18 05:57:25 +02:00
Ben Zörb
891cfd0429 Fixes inlining if no scripts & stylesheets are present in head 2018-03-18 00:00:47 +01:00
XhmikosR
aa4477dd6d Set the onload handler to null. (#231)
As per the loadcss docs, this actually fixes a huge issue with IE 10 and 11 I could test.
2017-12-14 23:26:59 +01:00
Thomas Paillot
0225bf9e04 Upgrade load css (#230) 2017-12-01 07:11:29 +01:00
Thomas Paillot
5317ba2f55 Upgrade loadCSS dep to 2.0.0 and update code and make it work with this version (#229) 2017-11-29 23:01:45 +01:00
Ben Zörb
0f76755b07 Update to loadcss v1.2.0 + cssrelpreload 2016-04-14 17:26:33 +02:00
Ben Zörb
9a63dc291d Bump deps 2015-11-13 22:29:05 +01:00
Ben Zörb
9eb3dd54cb test for #8 2015-09-29 07:03:38 +02:00
Ben Zörb
e9c00fee13 loadCSS Tweaks
* skip loadcss initialization on empty link list
* add `selector` option to specify loadCSS before element
2015-07-10 21:55:28 +02:00
Ben Zörb
c4e43274a8 Fix #9 2015-06-10 18:07:48 +02:00
Ben Zörb
187ecf6f06 Ignore noscript-wrapped link tags 2015-06-09 17:19:31 +02:00
Ben Zörb
77bdac4d98 Added test for #8 (skipped) 2015-04-30 17:10:05 +02:00
Ben Zörb
91f0c24d17 Don't encode entities 2015-04-30 16:56:36 +02:00
Ben Zörb
ec604aa377 Better testcase for #8 2015-04-29 06:23:01 +02:00
Ben Zörb
a9d96bdac3 Added fix for #8 2015-04-28 06:37:48 +02:00
Ben Zörb
90bfbd2dc2 fix #6 2015-02-23 17:04:34 +01:00
Ben Zörb
af188afe50 fixes 7 2015-02-17 00:59:53 +01:00
Ben Zörb
95606c5cda Use original loadCSS 2014-12-08 23:02:01 +01:00
Ben Zörb
7e23be10fe moved loadcss in the head 2014-12-08 21:33:40 +01:00
Ben Zörb
71f73d7433 Really fixed #4 2014-11-25 17:28:56 +01:00
Ben Zörb
edae0d3b6e Added test for generated html with extract:true 2014-11-25 17:11:26 +01:00
Nicolas Bevacqua
28f78aae21 revving 2014-10-20 11:44:53 -03:00
Nicolas Bevacqua
7484531212 implement extract options and test it out 2014-10-18 22:12:33 -03:00
Ben Zörb
320f20bd7f fixed implementation 2014-09-02 08:26:10 +02:00
Ben Zörb
c420dd4978 Changed implementation of async css loader
Thanks to @scottjehl from the Filament Group for this piece of code.
See: https://github.com/filamentgroup/loadCSS
2014-09-02 08:17:26 +02:00
Ben Zörb
bb96310613 Initial commit 2014-08-04 00:01:39 +02:00