-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I've implemented loadCSS (https://github.com/filamentgroup/loadCSS/blob/master/README.md) on my website.
Your script caches only rel=stylesheets, but I've got:
<link href="/assets/style/app.css?t=1520512164273" as="style" type="text/css" rel="preload" onload="this.onload=null;this.rel='stylesheet'">
I've slightly changed your script and then it works (in Busted function, index.js file, line 45.)
var protocolRegEx = /^http(s)?/, elements = $('script[src], link[rel=stylesheet][href], link[rel=preload][as=style][href]');
Could you please implement it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels