Skip to content

Commit 077a68b

Browse files
Merge branch 'master' into multiple-css-paths
2 parents 90f7fa4 + a9c6828 commit 077a68b

File tree

4 files changed

+74
-49
lines changed

4 files changed

+74
-49
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ However, more packages may need to be installed depending on your OS distributio
2727
After reviewing the dependency requirements, add `critical-path-css-rails` to your Gemfile:
2828

2929
```
30-
gem 'critical-path-css-rails', '~> 2.6.0'
30+
gem 'critical-path-css-rails', '~> 2.10.0'
3131
```
3232

3333
Download and install by running:
@@ -88,7 +88,7 @@ A simple example using [loadcss-rails](https://github.com/michael-misshore/loadc
8888
<script>
8989
loadCSS("<%= stylesheet_path('application') %>");
9090
</script>
91-
<link rel="preload" href="<%= stylesheet_path('application') %>" as="style" onload="this.rel='stylesheet'">
91+
<link rel="preload" href="<%= stylesheet_path('application') %>" as="style" onload="this.onload=null;this.rel='stylesheet'">
9292
<noscript>
9393
<link rel="stylesheet" href="<%= stylesheet_path('application') %>">
9494
</noscript>
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module CriticalPathCSS
22
module Rails
3-
VERSION = '2.7.0'.freeze
3+
VERSION = '3.0.0'.freeze
44
end
55
end

package-lock.json

+70-45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"lib": "lib"
88
},
99
"dependencies": {
10-
"penthouse": "=1.6.0"
10+
"penthouse": "=1.10.1"
1111
},
1212
"license": "MIT"
1313
}

0 commit comments

Comments
 (0)