Sha256: 1e2aa8258c19300d713f0d6db685486d8c5149c5d8704abb86438f1047848955
Contents?: true
Size: 654 Bytes
Versions: 49
Compression:
Stored size: 654 Bytes
Contents
import { root } from '../util/root'; export function getSymbolObservable(context) { let $$observable; let 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 const observable = getSymbolObservable(root); /** * @deprecated use observable instead */ export const $$observable = observable; //# sourceMappingURL=observable.js.map
Version data entries
49 entries across 49 versions & 4 rubygems