This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
/*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */ | |
(function(w){ | |
"use strict"; | |
/* exported loadCSS */ | |
var loadCSS = function( href, before, media ){ | |
// Arguments explained: | |
// `href` [REQUIRED] is the URL for your CSS file. | |
// `before` [OPTIONAL] is the element the script should use as a reference for injecting our stylesheet <link> before | |
// By default, loadCSS attempts to inject the link after the last stylesheet or script in the DOM. However, you might desire a more specific location in your document. |