UNPKG

@cdklabs/cdk-ecs-codedeploy

Version:

CDK Constructs for performing ECS Deployments with CodeDeploy

11 lines (10 loc) 230 B
const fallbackWindow = {}; export function locateWindow() { if (typeof window !== "undefined") { return window; } else if (typeof self !== "undefined") { return self; } return fallbackWindow; }