Permalink
Browse files

UA recognition for Windows 8 & Tablet PC.

  • Loading branch information...
1 parent afe8c57 commit b6c58d0345bcf2a83bfca02be0b063365cdec3ab @reid reid committed Aug 23, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/hub/ua.js
View
@@ -23,6 +23,12 @@ module.exports = function (ua) {
case '6.1':
os += ' 7';
break;
+ case '6.2':
+ os += ' 8';
+ break;
+ }
+ if (/Tablet PC/.test(ua)) {
+ os += ' Tablet PC';
}
}
} else if ((/macintosh/i).test(ua)) {

0 comments on commit b6c58d0

Please sign in to comment.