1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Merge pull request #58 from trillioncz/master

mark BB10 browser as A graded
This commit is contained in:
Dustin Diaz 2014-10-06 11:00:45 -07:00
commit bd39e6eb71
2 changed files with 4 additions and 3 deletions

View File

@ -202,7 +202,8 @@
(result.firefox && result.version >= 20.0) ||
(result.safari && result.version >= 6) ||
(result.opera && result.version >= 10.0) ||
(result.ios && result.osversion && result.osversion.split(".")[0] >= 6)
(result.ios && result.osversion && result.osversion.split(".")[0] >= 6) ||
(result.blackberry && result.version >= 10.1)
) {
result.a = t;
}

View File

@ -637,14 +637,14 @@ module.exports.useragents = {
, version: '10.1'
, webkit: true
, mobile: true
, x: true
, a: true
}
, 'Mozilla/5.0 (BB10; Kbd) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.1429 Mobile Safari/537.10+': {
blackberry: true
, version: '10.1'
, webkit: true
, mobile: true
, x: true
, a: true
}
, 'Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML, like Gecko) Version/7.2.1.0 Safari/536.2+': {
blackberry: true