Front end of the Slack clone application.

root.js 885B

12345678910111213141516171819
  1. "use strict";
  2. // CommonJS / Node have global context exposed as "global" variable.
  3. // We don't want to include the whole node.d.ts this this compilation unit so we'll just fake
  4. // the global "global" var for now.
  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. exports.root = _root;
  11. // Workaround Closure Compiler restriction: The body of a goog.module cannot use throw.
  12. // This is needed when used with angular/tsickle which inserts a goog.module statement.
  13. // Wrap in IIFE
  14. (function () {
  15. if (!_root) {
  16. throw new Error('RxJS could not find any global context (window, self, global)');
  17. }
  18. })();
  19. //# sourceMappingURL=root.js.map