X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d74dd80540824b86fc93fc9573f412bbbcaefbc4..1a20044dc7e5baaf836edae1a0631d7d34e76854:/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