browser.js 609 B

1234567891011121314151617181920
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var core = require('@vueuse/core');
  4. const isFirefox = () => core.isClient && /firefox/i.test(window.navigator.userAgent);
  5. const isAndroid = () => core.isClient && /android/i.test(window.navigator.userAgent);
  6. Object.defineProperty(exports, 'isClient', {
  7. enumerable: true,
  8. get: function () { return core.isClient; }
  9. });
  10. Object.defineProperty(exports, 'isIOS', {
  11. enumerable: true,
  12. get: function () { return core.isIOS; }
  13. });
  14. exports.isAndroid = isAndroid;
  15. exports.isFirefox = isFirefox;
  16. //# sourceMappingURL=browser.js.map