summaryrefslogtreecommitdiffstats
path: root/public/vendor/plugins/cssrelpreload/loadCSS.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/plugins/cssrelpreload/loadCSS.min.js')
-rw-r--r--public/vendor/plugins/cssrelpreload/loadCSS.min.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/vendor/plugins/cssrelpreload/loadCSS.min.js b/public/vendor/plugins/cssrelpreload/loadCSS.min.js
new file mode 100644
index 0000000000..7027506a30
--- /dev/null
+++ b/public/vendor/plugins/cssrelpreload/loadCSS.min.js
@@ -0,0 +1,2 @@
+/*! loadCSS. [c]2017 Filament Group, Inc. MIT License */
+!function(a){"use strict";var b=function(b,c,d){function e(a){return h.body?a():void setTimeout(function(){e(a)})}function f(){i.addEventListener&&i.removeEventListener("load",f),i.media=d||"all"}var g,h=a.document,i=h.createElement("link");if(c)g=c;else{var j=(h.body||h.getElementsByTagName("head")[0]).childNodes;g=j[j.length-1]}var k=h.styleSheets;i.rel="stylesheet",i.href=b,i.media="only x",e(function(){g.parentNode.insertBefore(i,c?g:g.nextSibling)});var l=function(a){for(var b=i.href,c=k.length;c--;)if(k[c].href===b)return a();setTimeout(function(){l(a)})};return i.addEventListener&&i.addEventListener("load",f),i.onloadcssdefined=l,l(f),i};"undefined"!=typeof exports?exports.loadCSS=b:a.loadCSS=b}("undefined"!=typeof global?global:this); \ No newline at end of file