From ac247c5d14ebc16514cdb65c7569f63361a07312 Mon Sep 17 00:00:00 2001 From: Ales Rippl Date: Tue, 9 Sep 2014 17:23:30 +0200 Subject: [PATCH] mark BB10 browser as A graded --- src/bowser.js | 3 ++- src/useragents.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bowser.js b/src/bowser.js index 6759637..f118f16 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -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; } diff --git a/src/useragents.js b/src/useragents.js index 2c5e85a..eaa0ab7 100644 --- a/src/useragents.js +++ b/src/useragents.js @@ -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