2019-03-13 15:31:59 +01:00
|
|
|
# See .browserslistrc
|
2018-01-18 16:30:06 +01:00
|
|
|
Browser.modern_rules.clear
|
2019-11-28 17:30:57 +01:00
|
|
|
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 && !b.platform.ios? }
|
2018-08-21 18:30:04 +02:00
|
|
|
Browser.modern_rules << -> b { b.edge? && b.version.to_i >= 14 && !b.compatibility_view? }
|
2019-11-28 17:30:57 +01:00
|
|
|
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 50 && !b.platform.ios? }
|
2018-08-21 18:21:14 +02:00
|
|
|
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }
|
2018-01-18 16:30:06 +01:00
|
|
|
Browser.modern_rules << -> b { b.safari? && b.version.to_i >= 8 }
|
2019-11-28 17:30:57 +01:00
|
|
|
Browser.modern_rules << -> b { b.platform.ios? && b.platform.version.to_i >= 8 }
|