mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-20 17:16:40 +03:00
Fix #794: Detect Windows 7
This commit is contained in:
@@ -943,7 +943,7 @@
|
||||
os : [[
|
||||
|
||||
// Windows
|
||||
/microsoft (windows) (vista|xp)/i // Windows (iTunes)
|
||||
/microsoft (windows) (7|vista|xp)/i // Windows
|
||||
], [NAME, VERSION], [
|
||||
/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i // Windows Phone
|
||||
], [NAME, [VERSION, strMapper, windowsVersionMap]], [
|
||||
|
||||
Reference in New Issue
Block a user