1234567891011121314151617181920212223242526 |
- /** PURE_IMPORTS_START .._util_root PURE_IMPORTS_END */
- import { root } from '../util/root';
- export function getSymbolObservable(context) {
- var $$observable;
- var Symbol = context.Symbol;
- if (typeof Symbol === 'function') {
- if (Symbol.observable) {
- $$observable = Symbol.observable;
- }
- else {
- $$observable = Symbol('observable');
- Symbol.observable = $$observable;
- }
- }
- else {
- $$observable = '@@observable';
- }
- return $$observable;
- }
- export var observable = /*@__PURE__*/ getSymbolObservable(root);
- /**
- * @deprecated use observable instead
- */
- export var $$observable = observable;
- //# sourceMappingURL=observable.js.map
|