github-pages-deploy-action/node_modules/rxjs/_esm2015/internal/util/root.js

12 lines
492 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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