From: Tom Hughes Date: Thu, 18 Nov 2021 17:20:07 +0000 (+0000) Subject: Drop use of html5shiv X-Git-Tag: live~1932 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d8da12f587fd6fbfce2df8777dfa9885985dbfa4 Drop use of html5shiv Fixes #3367 --- diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js index 8d66a7fef..33a4d7c32 100644 --- a/app/assets/config/manifest.js +++ b/app/assets/config/manifest.js @@ -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 diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 9fdb2637f..31b0fa17d 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -1,7 +1,6 @@ <%= tag.head :data => application_data do %> - <%= 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" %> diff --git a/package.json b/package.json index c663c6f12..ea1a9a85b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index e707d5c44..8aa1c505a 100644 --- 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"