[devdocsgjs/main: 4/239] Remove support for Internet Explorer
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 4/239] Remove support for Internet Explorer
- Date: Fri, 8 Apr 2022 07:47:32 +0000 (UTC)
commit 5ca0a8172df4ec382623bc2a230abec30131cf4c
Author: Simon Legner <Simon Legner gmail com>
Date: Mon Nov 1 13:22:00 2021 +0100
Remove support for Internet Explorer
"DevDocs being a developer tool, the browser requirements are high" (README)
lib/app.rb | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/lib/app.rb b/lib/app.rb
index e046dc4b..43ce2a4e 100644
--- a/lib/app.rb
+++ b/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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]