1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

added detection and tests for firefox on firefox os

This commit is contained in:
BendingBender
2014-02-21 00:54:32 +01:00
parent 1a22035c5b
commit 24dd55d9b4
2 changed files with 31 additions and 2 deletions

View File

@@ -148,8 +148,10 @@
if (android) {
o.android = t
o.mobile = t
} else if (!android && firefox && /\((mobile|tablet);.*rv:[\d\.]+\)/i.test(ua)) {
o.firefoxos = t
o.mobile = t
}
}
else if (android) o = {
name: 'Android'