From: Tom Hughes Date: Fri, 19 Nov 2021 18:10:50 +0000 (+0000) Subject: Drop unused browser feature predicates X-Git-Tag: live~1978 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/bb5954e48957f5ac5d826991111298843aadb075?ds=inline Drop unused browser feature predicates --- diff --git a/config/initializers/browser.rb b/config/initializers/browser.rb index ff0747d07..5e8c57c74 100644 --- a/config/initializers/browser.rb +++ b/config/initializers/browser.rb @@ -1,14 +1,6 @@ module OpenStreetMap module Browser module Features - def html5? - chrome? || firefox? || safari? || edge? || ie?(">8") || generic_webkit? - end - - def es5? - chrome? || firefox? || safari? || edge? || ie?(">8") || generic_webkit? - end - def es6? chrome?(">44") || firefox?(">24") || safari?(">7") || edge?(">11") || generic_webkit? end