X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..9004c2d28d237d9c1dfe6ff707c2189731069593:/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