mirror of
https://github.com/litruv/API-WebSocket-Bridge.git
synced 2026-07-24 18:56:02 +10:00
first commit
This commit is contained in:
11
node_modules/engine.io-client/build/esm/globalThis.browser.js
generated
vendored
Normal file
11
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