History

Remove support for Internet Explorer

"DevDocs being a developer tool, the browser requirements are high" (README)

Simon Legner committed 5 years ago

Commit 5ca0a811 parent 10407441 file · +1 −3Browse files

Unified · Split

lib/app.rb+1−3
@@ -146,10 +146,8 @@ class App < Sinatra::Application · 145 unmodified lines
146146 @browser ||= Browser.new(request.user_agent)
147147 end
148148
149− UNSUPPORTED_IE_VERSIONS = %w(6 7 8 9).freeze
150−
151149 def unsupported_browser?
152− browser.ie? && UNSUPPORTED_IE_VERSIONS.include?(browser.version)
150+ browser.ie?
153151 end
154152
155153 def docs