Skip to content

Commit

Permalink
🔥 remove html5shiv.js (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitoball authored Oct 6, 2022
1 parent 488463f commit d4afa43
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 333 deletions.
326 changes: 0 additions & 326 deletions app/assets/javascripts/html5shiv.js

This file was deleted.

3 changes: 0 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
<script type="text/javascript" charset="utf-8">
try{Typekit.load();}catch(e){}
</script>
<!--[if lt IE 9]>
<%= javascript_include_tag 'html5shiv' %>
<![endif]-->
<link href="https://api.mapbox.com/mapbox-gl-js/v1.8.1/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/v1.8.1/mapbox-gl.js"></script>
<script>
Expand Down
3 changes: 0 additions & 3 deletions app/views/layouts/full_width_device_stories.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
<script type="text/javascript" charset="utf-8">
try{Typekit.load();}catch(e){}
</script>
<!--[if lt IE 9]>
<%= javascript_include_tag 'html5shiv' %>
<![endif]-->
</head>
<body data-spy="scroll" data-target=".doc-nav" >

Expand Down
2 changes: 1 addition & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
Rails.application.config.assets.precompile += %w(bgeigie_viewer.js bgeigie_viewer_worker.js html5shiv.js device_stories.js)
Rails.application.config.assets.precompile += %w(bgeigie_viewer.js bgeigie_viewer_worker.js device_stories.js)

0 comments on commit d4afa43

Please sign in to comment.