Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 2 additions & 2 deletions
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>

‎lib/critical_path_css/rails/version.rb

Lines changed: 1 addition & 1 deletion
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

Lines changed: 70 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /