There was an error while loading. Please reload this page.
2 parents 5918cf6 + 2946953 commit c067f62Copy full SHA for c067f62
lib/browserino/definitions/matchers/global.rb
@@ -26,6 +26,10 @@
26
# a hash of http headers as second argument
27
locales []
28
29
+ # overwrite client-generated locales? method
30
+ # to make the correct comparison for arrays
31
+ locales? { locales.any? }
32
+
33
smarttv %r{(?:smart[\-\s]|hbb|apple\s|google|g)(tv)}i
34
35
tablet %r{(ipad|transformer|slider|a\d+f;|tablet|lenovo
0 commit comments