app: display a deprecation banner for IE 11
This commit is contained in:
parent
3e096b9c15
commit
2ee8cab067
3 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
||||||
> 1%
|
> 1%
|
||||||
Chrome >= 50
|
Chrome >= 50
|
||||||
IE >= 11
|
|
||||||
Edge >= 14
|
Edge >= 14
|
||||||
Firefox >= 50
|
Firefox >= 50
|
||||||
Opera >= 40
|
Opera >= 40
|
||||||
Safari >= 8
|
Safari >= 8
|
||||||
iOS >= 8
|
iOS >= 8
|
||||||
|
# Although IE 11 shows a deprecation banner, we still support the transpilation option.
|
||||||
|
# IE 11 support may be removed starting from 01 / 06 / 2020.
|
||||||
|
IE >= 11
|
||||||
|
|
|
@ -150,7 +150,7 @@ Pour les lister : `bin/rake -D support:`.
|
||||||
|
|
||||||
## Compatibilité navigateurs
|
## Compatibilité navigateurs
|
||||||
|
|
||||||
L'application supporte les navigateurs récents : Firefox, Chrome, Safari, Edge et Internet Explorer 11 (voir `config/initializers/browser.rb`).
|
L'application gère les navigateurs récents, parmis lequels Firefox, Chrome, Safari et Edge (voir `config/initializers/browser.rb`).
|
||||||
|
|
||||||
La compatibilité est testée par Browserstack.<br>[<img src="app/assets/images/browserstack-logo-600x315.png" width="200">](https://www.browserstack.com/)
|
La compatibilité est testée par Browserstack.<br>[<img src="app/assets/images/browserstack-logo-600x315.png" width="200">](https://www.browserstack.com/)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# See .browserslistrc
|
# See .browserslistrc
|
||||||
Browser.modern_rules.clear
|
Browser.modern_rules.clear
|
||||||
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 }
|
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.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.firefox? && b.version.to_i >= 50 }
|
||||||
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }
|
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }
|
||||||
|
|
Loading…
Reference in a new issue