Merge pull request #2343 from betagouv/disallow-ie-10

browsers: enforce IE 11 as the minimum required IE version
This commit is contained in:
Pierre de La Morinerie 2018-08-06 16:41:41 +02:00 committed by GitHub
commit 2e87218480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
Browser.modern_rules.clear
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 40 }
Browser.modern_rules << -> b { b.ie?([">=10"]) }
Browser.modern_rules << -> b { b.ie?([">=11"]) }
Browser.modern_rules << -> b { b.edge? }
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 45 }
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 19 }