@softchef/cdk-iot-device-management
Version:
IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.
14 lines (13 loc) • 354 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.locateWindow = void 0;
const fallbackWindow = {};
function locateWindow() {
if (typeof window !== "undefined") {
return window;
}
else if (typeof self !== "undefined") {
return self;
}
return fallbackWindow;
}
exports.locateWindow = locateWindow;