a zip code crypto-currency system good for red ONLY

1234567891011121314151617181920212223242526
  1. "use strict";
  2. var root_1 = require('../util/root');
  3. 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. exports.getSymbolObservable = getSymbolObservable;
  21. exports.observable = getSymbolObservable(root_1.root);
  22. /**
  23. * @deprecated use observable instead
  24. */
  25. exports.$$observable = exports.observable;
  26. //# sourceMappingURL=observable.js.map