arielsalminen / feature.js

Feature.js is a fast, simple and lightweight browser feature detection library in 1kb.

Home Page:https://featurejs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Android" is always capital "A"

Paul-Browne opened this issue · comments

In the "old android" test the string "Android" might be "android" -can't recall which devices this occurred on, but a simple (A|a)ndroid should check for both. Great work btw👍

Title should be "Android" isn't always capital "A"

The regex uses the case insensitive operator...

Seems like @ShirtlessKirk is right, the test uses the insensitive operator. If you run into this again feel free to resubmit or reopen this issue!