Remove support for Internet Explorer

"DevDocs being a developer tool, the browser requirements are high" (README)
pull/1653/head
Simon Legner 3 years ago
parent 1040744f55
commit 5ca0a8172d

@ -146,10 +146,8 @@ class App < Sinatra::Application
@browser ||= Browser.new(request.user_agent) @browser ||= Browser.new(request.user_agent)
end end
UNSUPPORTED_IE_VERSIONS = %w(6 7 8 9).freeze
def unsupported_browser? def unsupported_browser?
browser.ie? && UNSUPPORTED_IE_VERSIONS.include?(browser.version) browser.ie?
end end
def docs def docs

Loading…
Cancel
Save