Initial
This commit is contained in:
10
resources/app/node_modules/@aws-sdk/util-locate-window/dist-es/index.js
generated
vendored
Normal file
10
resources/app/node_modules/@aws-sdk/util-locate-window/dist-es/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
const fallbackWindow = {};
|
||||
export function locateWindow() {
|
||||
if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
else if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
return fallbackWindow;
|
||||
}
|
||||
Reference in New Issue
Block a user