Unify the syntax in browser.rb
This commit is contained in:
parent
fad18d6173
commit
3d14ae418f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# See .babelrc
|
||||
Browser.modern_rules.clear
|
||||
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 }
|
||||
Browser.modern_rules << -> b { b.ie?([">=11"]) }
|
||||
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.firefox? && b.version.to_i >= 50 }
|
||||
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }
|
||||
|
|
Loading…
Reference in a new issue