mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Workaround for issue #8
This commit is contained in:
parent
a6610646ca
commit
b99546072d
13
ua-parser.js
13
ua-parser.js
@ -120,6 +120,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
device : {
|
||||||
|
|
||||||
|
htc : {
|
||||||
|
|
||||||
|
model : {
|
||||||
|
'Evo Shift 4G' : '7373KT'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
os : {
|
os : {
|
||||||
|
|
||||||
windows : {
|
windows : {
|
||||||
@ -240,7 +250,10 @@
|
|||||||
/(nintendo|playstation)\s([wids3portablev]+)/i // Nintendo/Playstation
|
/(nintendo|playstation)\s([wids3portablev]+)/i // Nintendo/Playstation
|
||||||
], [VENDOR, MODEL, [TYPE, CONSOLE]], [
|
], [VENDOR, MODEL, [TYPE, CONSOLE]], [
|
||||||
|
|
||||||
|
/(sprint\sapa)(\w+)/i
|
||||||
|
], [[VENDOR, 'HTC'], [MODEL, maps.device.htc.model], [TYPE, MOBILE]], [
|
||||||
/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, // HTC
|
/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, // HTC
|
||||||
|
|
||||||
/(zte)-(\w+)*/i // ZTE
|
/(zte)-(\w+)*/i // ZTE
|
||||||
], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [
|
], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user