Front end of the Slack clone application.

observable.js 721B

1234567891011121314151617181920212223242526
  1. /** PURE_IMPORTS_START .._util_root PURE_IMPORTS_END */
  2. import { root } from '../util/root';
  3. export function getSymbolObservable(context) {
  4. var $$observable;
  5. var Symbol = context.Symbol;
  6. if (typeof Symbol === 'function') {
  7. if (Symbol.observable) {
  8. $$observable = Symbol.observable;
  9. }
  10. else {
  11. $$observable = Symbol('observable');
  12. Symbol.observable = $$observable;
  13. }
  14. }
  15. else {
  16. $$observable = '@@observable';
  17. }
  18. return $$observable;
  19. }
  20. export var observable = /*@__PURE__*/ getSymbolObservable(root);
  21. /**
  22. * @deprecated use observable instead
  23. */
  24. export var $$observable = observable;
  25. //# sourceMappingURL=observable.js.map