browsers: enforce IE 11 as the minimum required IE version

This is already documented in the README, but not enforced.
This commit is contained in:
Pierre de La Morinerie 2018-08-06 13:24:56 +00:00
parent a74e60f6b1
commit 22b83dd67c

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 }