Front end of the Slack clone application.

root.js 934B

1234567891011121314151617181920
  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. /** PURE_IMPORTS_START PURE_IMPORTS_END */
  5. var __window = typeof window !== 'undefined' && window;
  6. var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
  7. self instanceof WorkerGlobalScope && self;
  8. var __global = typeof global !== 'undefined' && global;
  9. var _root = __window || __global || __self;
  10. // Workaround Closure Compiler restriction: The body of a goog.module cannot use throw.
  11. // This is needed when used with angular/tsickle which inserts a goog.module statement.
  12. // Wrap in IIFE
  13. /*@__PURE__*/ (function () {
  14. if (!_root) {
  15. throw new Error('RxJS could not find any global context (window, self, global)');
  16. }
  17. })();
  18. export { _root as root };
  19. //# sourceMappingURL=root.js.map