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
govuk_publishing_components-17.8.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.7.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.6.1 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.6.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.5.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.4.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.3.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.2.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.1.1 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.1.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-17.0.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.29.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.28.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.27.1 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.27.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.26.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.25.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.24.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.23.0 node_modules/rxjs/symbol/observable.js.map
govuk_publishing_components-16.22.0 node_modules/rxjs/symbol/observable.js.map