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: c4cd2623f5163950279fbc582ad3911a2a8604b1
4
- data.tar.gz: d36a67e8ef3581e04ee0d6d17a41b16aeea872b2
3
+ metadata.gz: e81a3e89924258af11404c123bb24590adfc9f4a
4
+ data.tar.gz: af07c7389972216f4b2d70b391ef104503cc0f0d
5
5
  SHA512:
6
- metadata.gz: fa61e597e5d44d5e20a566cfb2dabd54613fe9218c7b5e9403809d8e2d4bb95b3abc0dda0b97740ccc87310000d223f2b497ec17c0980e4fcacf585320f84180
7
- data.tar.gz: cfc51bd5a8dd02dad385c94e24d2382b86a7c314cbee94aec28901551cfed7d56cc5092017a3dc5dc55f3b68427e825523452aa24b358e72b1e88332e6510aee
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
 
@@ -1,3 +1,3 @@
1
1
  module RailsCriticalCssServer
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
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.0
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-06 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails