This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@aws-sdk/util-locate-window/dist-es/index.js
T

11 lines
230 B
JavaScript

const fallbackWindow = {};
export function locateWindow() {
if (typeof window !== "undefined") {
return window;
}
else if (typeof self !== "undefined") {
return self;
}
return fallbackWindow;
}