mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Fix issue #4
This commit is contained in:
parent
d35fb44066
commit
1f4befe4c3
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"title": "UA-Parser.JS",
|
"title": "UA-Parser.JS",
|
||||||
"name": "ua-parser-js",
|
"name": "ua-parser-js",
|
||||||
"version": "0.4.11",
|
"version": "0.4.12",
|
||||||
"author": "Faisal Salman <fyzlman@gmail.com> (http://faisalman.com)",
|
"author": "Faisal Salman <fyzlman@gmail.com> (http://faisalman.com)",
|
||||||
"description": "Lightweight JavaScript-based user-agent string parser",
|
"description": "Lightweight JavaScript-based user-agent string parser",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// UA-Parser.JS v0.4.11
|
// UA-Parser.JS v0.4.12
|
||||||
// Lightweight JavaScript-based User-Agent string parser
|
// Lightweight JavaScript-based User-Agent string parser
|
||||||
// https://github.com/faisalman/ua-parser-js
|
// https://github.com/faisalman/ua-parser-js
|
||||||
//
|
//
|
||||||
@ -303,7 +303,7 @@
|
|||||||
/(ip[honead]+).*os\s*([\w]+)*\slike\smac/i // iOS
|
/(ip[honead]+).*os\s*([\w]+)*\slike\smac/i // iOS
|
||||||
], [['name', 'iOS'], ['version', /_/g, '.']], [
|
], [['name', 'iOS'], ['version', /_/g, '.']], [
|
||||||
|
|
||||||
/(mac\sos\sx)\s?([\d\s\.]+\w)*/i, // Mac OS
|
/(mac\sos\sx)\s?([\w\s\.]+\w)*/i, // Mac OS
|
||||||
], ['name', ['version', /_/g, '.']], [
|
], ['name', ['version', /_/g, '.']], [
|
||||||
|
|
||||||
// Other
|
// Other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user