biofriction-wp-theme/node_modules/engine.io-client/lib/globalThis.browser.js

10 lines
245 B
JavaScript
Raw Permalink Normal View History

2021-10-26 14:18:09 +02:00
module.exports = (function () {
if (typeof self !== 'undefined') {
return self;
} else if (typeof window !== 'undefined') {
return window;
} else {
return Function('return this')(); // eslint-disable-line no-new-func
}
})();