1
0
Fork 0
react-playground/node_modules/@mui/x-internals/platform/index.js
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

13 lines
No EOL
489 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isJSDOM = exports.isFirefox = exports.default = void 0;
const userAgent = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase() : 'empty';
const isFirefox = exports.isFirefox = userAgent.includes('firefox');
const isJSDOM = exports.isJSDOM = typeof window !== 'undefined' && /jsdom|HappyDOM/.test(window.navigator.userAgent);
var _default = exports.default = {
isFirefox,
isJSDOM
};