rails_critical_css_server 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e81a3e89924258af11404c123bb24590adfc9f4a
|
4
|
+
data.tar.gz: af07c7389972216f4b2d70b391ef104503cc0f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 599173767c511cc437b2aa0d79cb0721d197cefa607bced076b0854a4d56a292f8466ee2a68b5fc6e5ee28c35f359968d27f344fdd492021d020b5052e3d5532
|
7
|
+
data.tar.gz: 1db8efec180c1be72e797ee414c45b5e02e7bdf669635ddbf7f8e7edf2a46225d001640dace1879610a259c4e9be447368dae9bb40c6208a79a95fdd66ecc4d4
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<%= render 'rails_critical_css_server/inline_load_css_script' %>
|
6
6
|
<script id='critical-css-server-deferred'>
|
7
7
|
<% css_files.each do |href| %>
|
8
|
-
loadCSS("<%= href %>");
|
8
|
+
loadCSS("<%= href %>", document.getElementById('critical-css-server-deferred'));
|
9
9
|
<% end %>
|
10
10
|
</script>
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_critical_css_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Wheeler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|