Skip to content

Commit a2a26c8

Browse files
committed
Fix Linux <-> Android confusion in detect. Add tests.
1 parent 7a2e787 commit a2a26c8

File tree

3 files changed

+650
-8
lines changed

3 files changed

+650
-8
lines changed

src/detect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,10 @@ var detect = (function(root, undefined) {
319319
regex: "(Black[Bb]erry)",
320320
os_replacement: "Blackberry",
321321
manufacturer: "RIM"
322-
}, {
323-
regex: "(Linux)"
324322
}, {
325323
regex: "(Android)"
324+
}, {
325+
regex: "(Linux)"
326326
} ],
327327
mobile_os_families: [ "Windows Phone", "Windows CE", "Symbian" ],
328328
device_parsers: [],

0 commit comments

Comments
 (0)