Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Windows 7 Mobile to UA parser

  • Loading branch information...
commit e7dbcad181679ceb4fd020a5968440fee0655d1b 1 parent 27034e8
@davglass authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/browsers.js
View
3  lib/browsers.js
@@ -194,6 +194,9 @@ Browser.forAgent = function(ua) {
break;
}
}
+ if ((/IEMobile|XBLWP7/).test(ua)) {
+ os += ' Mobile';
+ }
} else if ((/macintosh/i).test(ua)) {
os = 'Mac OSX';
m = ua.match(/10_7/);
Please sign in to comment.
Something went wrong with that request. Please try again.