Skip to content
Permalink
Browse files
[CB-3399] Treat BB10 as separate platform from BBOS/TabletOS for cord…
…ova.js loading
  • Loading branch information
bryanhiggins committed May 21, 2013
1 parent 9a36f6f commit ae18f3ea59d0b53880644ef8f8dcc3d0ade6f76d
Showing 1 changed file with 3 additions and 1 deletion.
@@ -24,7 +24,9 @@ if (/Android/.exec(navigator.userAgent)) {
PLAT = 'android';
} else if (/(iPad)|(iPhone)|(iPod)/.exec(navigator.userAgent)) {
PLAT = 'ios';
} else if (/(BB10)|(PlayBook)|(BlackBerry)/.exec(navigator.userAgent)) {
} else if (/(BB10)/.exec(navigator.userAgent)) {
PLAT = 'blackberry10';
} else if (/(PlayBook)|(BlackBerry)/.exec(navigator.userAgent)) {
PLAT = 'blackberry';
}

0 comments on commit ae18f3e

Please sign in to comment.