]> git.openstreetmap.org Git - rails.git/commitdiff
Drop use of html5shiv
authorTom Hughes <tom@compton.nu>
Thu, 18 Nov 2021 17:20:07 +0000 (17:20 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 18 Nov 2021 17:20:07 +0000 (17:20 +0000)
Fixes #3367

app/assets/config/manifest.js
app/views/layouts/_head.html.erb
package.json
yarn.lock

index 8d66a7fef711dcd3cec3fd531e780d1607f09c68..33a4d7c323d042def8973f6c8db88fcd6bd8a52c 100644 (file)
@@ -19,8 +19,6 @@
 
 //= link_directory ../../../vendor/assets/polyfill .js
 
-//= link html5shiv/dist/html5shiv.js
-
 //= link leaflet/dist/images/marker-icon.png
 //= link leaflet/dist/images/marker-icon-2x.png
 //= link leaflet/dist/images/marker-shadow.png
index 9fdb2637f7f9550a9e143c82cb1800878901c427..31b0fa17d85d6769d2bb0ff4de05671505d04aa5 100644 (file)
@@ -1,7 +1,6 @@
 <%= tag.head :data => application_data do %>
   <meta http-equiv="X-UA-Compatible" content="IE=edge" />
   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
-  <%= javascript_include_tag "html5shiv/dist/html5shiv" unless browser.html5? %>
   <%= javascript_include_tag "es5" unless browser.es5? %>
   <%= javascript_include_tag "es6" unless browser.es6? %>
   <%= javascript_include_tag "application" %>
index c663c6f12e7757d8ddba2c14ab9d83941ce8ea28..ea1a9a85b5befcaf85e03cb31a399b120291fa8e 100644 (file)
@@ -3,7 +3,6 @@
   "private": true,
   "dependencies": {
     "bs-custom-file-input": "^1.3.4",
-    "html5shiv": "^3.7.3",
     "jquery-simulate": "^1.0.2",
     "js-cookie": "^3.0.0",
     "leaflet": "^1.6.0",
index e707d5c4450d1a7b3ea087eebff00c6ab2501535..8aa1c505a2e043fb44b0543aceaf70fe62aca3ae 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
@@ -384,11 +384,6 @@ has@^1.0.3:
   dependencies:
     function-bind "^1.1.1"
 
-html5shiv@^3.7.3:
-  version "3.7.3"
-  resolved "https://registry.yarnpkg.com/html5shiv/-/html5shiv-3.7.3.tgz#d78a84a367bcb9a710100d57802c387b084631d2"
-  integrity sha1-14qEo2e8uacQEA1XgCw4ewhGMdI=
-
 ignore@^4.0.6:
   version "4.0.6"
   resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"