Skip to content

Commit

Permalink
grunt to update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
yeshiqing committed Apr 22, 2017
1 parent 8efc8cb commit 725880c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions DetectRTC.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Last time updated: 2017-03-11 6:31:40 AM UTC
// Last time updated: 2017-04-22 4:30:12 PM UTC

// Latest file can be found here: https://cdn.webrtc-experiment.com/DetectRTC.js

Expand Down Expand Up @@ -428,8 +428,7 @@
s: 'Search Bot',
r: /(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/
}];
for (var id in clientStrings) {
var cs = clientStrings[id];
for (var i = 0, cs; cs = clientStrings[i]; i++) {
if (cs.r.test(nAgt)) {
os = cs.s;
break;
Expand Down Expand Up @@ -469,7 +468,6 @@
osVersion: osVersion
};
}

var osName = 'Unknown OS';
var osVersion = 'Unknown OS Version';

Expand Down
Loading

0 comments on commit 725880c

Please sign in to comment.