Sha256: af7099e431ae195c89593a7c71eac8ee937290b686b77c398893ae47ac39263a

Contents?: true

Size: 1.29 KB

Versions: 49

Compression:

Stored size: 1.29 KB

Contents

{"version":3,"file":"observable.js","sourceRoot":"","sources":["../../src/symbol/observable.ts"],"names":[],"mappings":";AAAA,qBAAqB,cAAc,CAAC,CAAA;AAEpC,6BAAoC,OAAY;IAC9C,IAAI,YAAiB,CAAC;IACtB,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAE5B,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;YACtB,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC;QACnC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;YACpC,MAAM,CAAC,UAAU,GAAG,YAAY,CAAC;QACrC,CAAC;IACH,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,YAAY,GAAG,cAAc,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,YAAY,CAAC;AACtB,CAAC;AAhBe,2BAAmB,sBAgBlC,CAAA;AAEY,kBAAU,GAAG,mBAAmB,CAAC,WAAI,CAAC,CAAC;AAEpD;;GAEG;AACU,oBAAY,GAAG,kBAAU,CAAC","sourcesContent":["import { root } from '../util/root';\n\nexport function getSymbolObservable(context: any) {\n  let $$observable: any;\n  let Symbol = context.Symbol;\n\n  if (typeof Symbol === 'function') {\n    if (Symbol.observable) {\n      $$observable = Symbol.observable;\n    } else {\n        $$observable = Symbol('observable');\n        Symbol.observable = $$observable;\n    }\n  } else {\n    $$observable = '@@observable';\n  }\n\n  return $$observable;\n}\n\nexport const observable = getSymbolObservable(root);\n\n/**\n * @deprecated use observable instead\n */\nexport const $$observable = observable;\n"]}

Version data entries

49 entries across 49 versions & 4 rubygems

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