Skip to content

Commit

Permalink
Update to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-misshore committed Mar 4, 2017
1 parent 8d60832 commit a40b77f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/loadcss/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module LoadCSS
module Rails
VERSION = '1.2.2'
LOADCSS_VERSION = '1.2.1'
VERSION = '1.3.1'
LOADCSS_VERSION = '1.3.1'
end
end
4 changes: 2 additions & 2 deletions vendor/assets/javascripts/cssrelpreload.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! CSS rel=preload polyfill. Depends on loadCSS function. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
/*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */
(function( w ){
// rel=preload support test
if( !w.loadCSS ){
Expand All @@ -19,7 +19,7 @@
for( var i = 0; i < links.length; i++ ){
var link = links[ i ];
if( link.rel === "preload" && link.getAttribute( "as" ) === "style" ){
w.loadCSS( link.href, link );
w.loadCSS( link.href, link, link.getAttribute( "media" ) );
link.rel = null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/loadCSS.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
/*! loadCSS. [c]2017 Filament Group, Inc. MIT License */
(function(w){
"use strict";
/* exported loadCSS */
Expand Down
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/onloadCSS.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! onloadCSS: adds onload support for asynchronous stylesheets loaded with loadCSS. [c]2016 @zachleat, Filament Group, Inc. Licensed MIT */
/*! onloadCSS. (onload callback for loadCSS) [c]2017 Filament Group, Inc. MIT License */
/* global navigator */
/* exported onloadCSS */
function onloadCSS( ss, callback ) {
Expand Down

0 comments on commit a40b77f

Please sign in to comment.