loadcss-rails 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 125a6764da9c1917a1d3d09647cf331413ec455f
|
4
|
+
data.tar.gz: c66f35824d340de35eb572fc425630395cd754f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d73a2e2b22d24057c1ee61cff68ccc6db7582825e9c1c8d504a096a25dd8644352cc44d0540d7f35a0dfcd580b0daf91f58fef3e06465698cee73f822cd8585
|
7
|
+
data.tar.gz: 4ae372535a69f77b57f86ab638ee75738fd2655610aa003c6816c5ebb669b7aeda2a05635d01d442faa4237b5df78239cb76db63e426cdf589e46388bed9f433
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*!
|
1
|
+
/*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */
|
2
2
|
(function( w ){
|
3
3
|
// rel=preload support test
|
4
4
|
if( !w.loadCSS ){
|
@@ -19,7 +19,7 @@
|
|
19
19
|
for( var i = 0; i < links.length; i++ ){
|
20
20
|
var link = links[ i ];
|
21
21
|
if( link.rel === "preload" && link.getAttribute( "as" ) === "style" ){
|
22
|
-
w.loadCSS( link.href, link );
|
22
|
+
w.loadCSS( link.href, link, link.getAttribute( "media" ) );
|
23
23
|
link.rel = null;
|
24
24
|
}
|
25
25
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! onloadCSS
|
1
|
+
/*! onloadCSS. (onload callback for loadCSS) [c]2017 Filament Group, Inc. MIT License */
|
2
2
|
/* global navigator */
|
3
3
|
/* exported onloadCSS */
|
4
4
|
function onloadCSS( ss, callback ) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loadcss-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Misshore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem provides LoadCSS and OnloadCSS for your Rails application.
|
14
14
|
email:
|