Skip to content

Commit 535f11b

Browse files
committed
Delete redundant code
1 parent 642c039 commit 535f11b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ua-parser.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,8 @@
517517
], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [
518518

519519
// MIXED
520-
/(blackberry)[\s-]?(\w+)/i, // BlackBerry
521520
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,
522-
// BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron
521+
// BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron
523522
/(hp)\s([\w\s]+\w)/i, // HP iPAQ
524523
/(asus)-?(\w+)/i, // Asus
525524
/(microsoft);\s(lumia[\s\w]+)/i, // Microsoft Lumia

0 commit comments

Comments
 (0)