github-pages-deploy-action/node_modules/rxjs/_esm2015/internal/util/root.js
2020-03-06 22:45:40 -05:00

12 lines
492 B
JavaScript

const __window = typeof window !== 'undefined' && window;
const __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
self instanceof WorkerGlobalScope && self;
const __global = typeof global !== 'undefined' && global;
const _root = __window || __global || __self;
(function () {
if (!_root) {
throw new Error('RxJS could not find any global context (window, self, global)');
}
})();
export { _root as root };
//# sourceMappingURL=root.js.map