-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1158 from alphagov/add-sri-again
Add sri again
- Loading branch information
Showing
6 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<%= javascript_include_tag 'libs/jquery/jquery-1.12.4.js' %> | ||
<%= javascript_include_tag local_assigns[:js_file] || 'application' %> | ||
<%= javascript_include_tag 'surveys' %> | ||
<%= javascript_include_tag 'libs/jquery/jquery-1.12.4.js', integrity: true, crossorigin: 'anonymous' %> | ||
<%= javascript_include_tag local_assigns[:js_file] || 'application', integrity: true, crossorigin: 'anonymous' %> | ||
<%= javascript_include_tag 'surveys', integrity: true, crossorigin: 'anonymous' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<% | ||
css_file = local_assigns[:css_file] || 'static' | ||
%> | ||
<!--[if gt IE 8]><!--><%= stylesheet_link_tag css_file %><!--<![endif]--> | ||
<!--[if gt IE 8]><!--><%= stylesheet_link_tag css_file, integrity: true, crossorigin: "anonymous" %><!--<![endif]--> | ||
<!--[if IE 6]><%= stylesheet_link_tag "#{css_file}-ie6" %><script>var ieVersion = 6;</script><![endif]--> | ||
<!--[if IE 7]><%= stylesheet_link_tag "#{css_file}-ie7" %><script>var ieVersion = 7;</script><![endif]--> | ||
<!--[if IE 8]><%= stylesheet_link_tag "#{css_file}-ie8" %><script>var ieVersion = 8;</script><![endif]--> | ||
|
||
<%= stylesheet_link_tag "#{css_file}-print", media: "print" %> | ||
<%= stylesheet_link_tag "#{css_file}-print", media: "print", integrity: true, crossorigin: "anonymous" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters