a zip code crypto-currency system good for red ONLY

root.js 883B

123456789101112131415161718
  1. // CommonJS / Node have global context exposed as "global" variable.
  2. // We don't want to include the whole node.d.ts this this compilation unit so we'll just fake
  3. // the global "global" var for now.
  4. const __window = typeof window !== 'undefined' && window;
  5. const __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
  6. self instanceof WorkerGlobalScope && self;
  7. const __global = typeof global !== 'undefined' && global;
  8. const _root = __window || __global || __self;
  9. // Workaround Closure Compiler restriction: The body of a goog.module cannot use throw.
  10. // This is needed when used with angular/tsickle which inserts a goog.module statement.
  11. // Wrap in IIFE
  12. (function () {
  13. if (!_root) {
  14. throw new Error('RxJS could not find any global context (window, self, global)');
  15. }
  16. })();
  17. export { _root as root };
  18. //# sourceMappingURL=root.js.map