2018-08-06 16:53:43 +02:00
|
|
|
# See .babelrc
|
2018-01-18 16:30:06 +01:00
|
|
|
Browser.modern_rules.clear
|
2018-08-21 18:21:14 +02:00
|
|
|
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 }
|
2018-08-21 18:24:49 +02:00
|
|
|
Browser.modern_rules << -> b { b.ie? && b.version.to_i >= 11 && !b.compatibility_view? }
|
2018-08-21 18:30:04 +02:00
|
|
|
Browser.modern_rules << -> b { b.edge? && b.version.to_i >= 14 && !b.compatibility_view? }
|
2018-08-21 18:21:14 +02:00
|
|
|
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 50 }
|
|
|
|
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 }
|