初始化环境文件
This commit is contained in:
14
node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js
generated
vendored
Normal file
14
node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
const fallbackWindow = {};
|
||||
function locateWindow() {
|
||||
if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
else if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
return fallbackWindow;
|
||||
}
|
||||
|
||||
exports.locateWindow = locateWindow;
|
||||
Reference in New Issue
Block a user