app: display a deprecation banner for IE 11

This commit is contained in:
Pierre de La Morinerie 2019-11-28 13:39:17 +00:00
parent 3e096b9c15
commit 2ee8cab067
3 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,6 @@
# See .browserslistrc
Browser.modern_rules.clear
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 }
Browser.modern_rules << -> b { b.ie? && b.version.to_i >= 11 && !b.compatibility_view? }
Browser.modern_rules << -> b { b.edge? && b.version.to_i >= 14 && !b.compatibility_view? }
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 50 }
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }