mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 14:42:16 +03:00
Improve CPU detection: 68k
This commit is contained in:
@@ -546,6 +546,8 @@
|
|||||||
/((ppc|powerpc)(64)?)( mac|;|\))/i, // PowerPC
|
/((ppc|powerpc)(64)?)( mac|;|\))/i, // PowerPC
|
||||||
/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i // Alpha
|
/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i // Alpha
|
||||||
], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [
|
], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [
|
||||||
|
/mc680.0/i
|
||||||
|
], [[ARCHITECTURE, '68k']], [
|
||||||
/winnt.+\[axp/i
|
/winnt.+\[axp/i
|
||||||
], [[ARCHITECTURE, 'alpha']]
|
], [[ARCHITECTURE, 'alpha']]
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -289,7 +289,15 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"desc" : "68k",
|
"desc" : "68k",
|
||||||
"ua" : "'Mozilla/1.1 (Macintosh; U; 68K)'",
|
"ua" : "Mozilla/1.1 (Macintosh; U; 68K)",
|
||||||
|
"expect" :
|
||||||
|
{
|
||||||
|
"architecture" : "68k"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "MC680x0",
|
||||||
|
"ua" : "AmigaVoyager/3.2 (AmigaOS/MC680x0)",
|
||||||
"expect" :
|
"expect" :
|
||||||
{
|
{
|
||||||
"architecture" : "68k"
|
"architecture" : "68k"
|
||||||
|
|||||||
Reference in New Issue
Block a user