Add OS/2, Plan 9, AIX, QNX

This commit is contained in:
Faisalman 2012-11-07 17:03:23 +07:00
parent 8030aa33f7
commit 3fe07487cd
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"title": "UA-Parser.JS",
"name": "ua-parser-js",
"version": "0.4.7",
"version": "0.4.8",
"author": "Faisal Salman <fyzlman@gmail.com> (http://faisalman.com)",
"description": "Lightweight JavaScript-based user-agent string parser",
"keywords": [

View File

@ -1,4 +1,4 @@
// UA-Parser.JS v0.4.7
// UA-Parser.JS v0.4.8
// Lightweight JavaScript-based User-Agent string parser
// https://github.com/faisalman/ua-parser-js
//
@ -301,7 +301,10 @@
// Other
/(haiku)\s(\w+)/i, // Haiku
/(macintosh|mac(?=_powerpc)|unix|minix|beos)[\/\s]?()*/i // UNIX/Minix/BeOS
/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i, // AIX
/(macintosh|mac(?=_powerpc)|plan\s9|minix|beos|qnx|os\/2)[\/\s]?()*/i,
// Plan9/Minix/BeOS/QNX/OS2
/(unix)\s?([\w\.]+)*/i // UNIX
], ['name', 'version']
]
};