You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/* eslint-disable no-new-func, no-nested-ternary */
|
|
|
|
let win;
|
|
|
|
if (typeof window === "undefined") {
|
|
// window is undefined in node.js
|
|
win = {};
|
|
} else {
|
|
win = window;
|
|
}
|
|
/* eslint-enable no-new-func, no-nested-ternary */
|
|
|
|
export {win as window};
|