소스 검색

Remove support for Internet Explorer

"DevDocs being a developer tool, the browser requirements are high" (README)
Simon Legner 4 년 전
부모
커밋
5ca0a8172d
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      lib/app.rb

+ 1 - 3
lib/app.rb

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