Skip to content

Commit 477f85c

Browse files
committed
blackberry ua support
1 parent 633b5e0 commit 477f85c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/speed/stats/perf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ window.Perf = (function($, Perf) {
6363
ANDROID: "Android",
6464
WP: "Windows Phone OS",
6565
IPHONE: "iPhone OS",
66-
IPAD: "iPad; U; CPU OS"
66+
IPAD: "iPad; U; CPU OS",
67+
BLACKBERRY: "BlackBerry"
6768
},
6869

6970
vRegexs: {}
@@ -73,6 +74,7 @@ window.Perf = (function($, Perf) {
7374
Perf.vRegexs[Perf.agents.WP] = /Windows Phone OS ([0-9].[0-9]);/;
7475
Perf.vRegexs[Perf.agents.IPHONE] = /iPhone OS ([0-9]_[0-9])/;
7576
Perf.vRegexs[Perf.agents.IPAD] = /iPad; U; CPU OS ([0-9]_[0-9])/;
77+
Perf.vRegexs[Perf.agents.BLACKBERRY] = /BlackBerry ([0-9]{4})/;
7678

7779
return Perf;
7880
})(jQuery, window.Perf || {});

0 commit comments

Comments
 (0)