Sha256: a09e748ffe42d32bb4fd3e12277ee907d67590488cc6f49d220feebc5dfedfd6
Contents?: true
Size: 883 Bytes
Versions: 49
Compression:
Stored size: 883 Bytes
Contents
// CommonJS / Node have global context exposed as "global" variable. // We don't want to include the whole node.d.ts this this compilation unit so we'll just fake // the global "global" var for now. 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; // Workaround Closure Compiler restriction: The body of a goog.module cannot use throw. // This is needed when used with angular/tsickle which inserts a goog.module statement. // Wrap in IIFE (function () { if (!_root) { throw new Error('RxJS could not find any global context (window, self, global)'); } })(); export { _root as root }; //# sourceMappingURL=root.js.map
Version data entries
49 entries across 49 versions & 4 rubygems