You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
400 B
17 lines
400 B
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.isAndroid = isAndroid;
|
|
exports.isIOS = isIOS;
|
|
|
|
var _ = require("..");
|
|
|
|
function isAndroid() {
|
|
/* istanbul ignore next */
|
|
return _.isServer ? false : /android/.test(navigator.userAgent.toLowerCase());
|
|
}
|
|
|
|
function isIOS() {
|
|
/* istanbul ignore next */
|
|
return _.isServer ? false : /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());
|
|
} |