Initial
This commit is contained in:
11
resources/app/node_modules/engine.io-client/build/esm/globalThis.browser.js
generated
vendored
Normal file
11
resources/app/node_modules/engine.io-client/build/esm/globalThis.browser.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export const globalThisShim = (() => {
|
||||
if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
else if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
else {
|
||||
return Function("return this")();
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user