Sha256: 073ba3f25be2cdefb92c8bf99e1129c46ae19103df7b0a6d286c193ef3e74295

Contents?: true

Size: 718 Bytes

Versions: 49

Compression:

Stored size: 718 Bytes

Contents

"use strict";
var root_1 = require('../util/root');
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;
}
exports.getSymbolObservable = getSymbolObservable;
exports.observable = getSymbolObservable(root_1.root);
/**
 * @deprecated use observable instead
 */
exports.$$observable = exports.observable;
//# sourceMappingURL=observable.js.map

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/symbol/observable.js
ilog-0.4.0 node_modules/rxjs/symbol/observable.js
ilog-0.3.3 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-18.0.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.21.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.20.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.19.1 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.19.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.18.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.17.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.16.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.15.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.14.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.13.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.12.2 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.12.1 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.12.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.11.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.10.0 node_modules/rxjs/symbol/observable.js
govuk_publishing_components-17.9.0 node_modules/rxjs/symbol/observable.js