X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..4f2789c73c3ac9c3af3e4a4ae08f2f37cb78ddf1:/config/initializers/browser.rb diff --git a/config/initializers/browser.rb b/config/initializers/browser.rb index 29dc70672..5e8c57c74 100644 --- a/config/initializers/browser.rb +++ b/config/initializers/browser.rb @@ -1,20 +1,12 @@ 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 def generic_webkit? - webkit? && !chrome? && !safari? && !edge? + webkit? && !chrome? && !safari? && !edge? && !phantom_js? end end end