Enforce a minimum Edge version
This commit is contained in:
parent
3d14ae418f
commit
9c94308209
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
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.ie? && b.version.to_i >= 11 && !b.compatibility_view? }
|
||||||
Browser.modern_rules << -> b { b.edge? }
|
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 }
|
||||||
Browser.modern_rules << -> b { b.safari? && b.version.to_i >= 8 }
|
Browser.modern_rules << -> b { b.safari? && b.version.to_i >= 8 }
|
||||||
|
|
Loading…
Reference in a new issue