Sha256: 877804d1672c2b7c290b5cfaf57003f0e25edb627a3b403e8b977d6a10193a79

Contents?: true

Size: 1.08 KB

Versions: 49

Compression:

Stored size: 1.08 KB

Contents

{"version":3,"file":"applyMixins.js","sourceRoot":"","sources":["../../src/util/applyMixins.ts"],"names":[],"mappings":";AAAA,qBAA4B,WAAgB,EAAE,SAAgB;IAC5D,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACrD,IAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC9B,IAAM,YAAY,GAAG,MAAM,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QACpE,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;YAC1D,IAAM,MAAI,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;YAC7B,WAAW,CAAC,SAAS,CAAC,MAAI,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,MAAI,CAAC,CAAC;QACzD,CAAC;IACH,CAAC;AACH,CAAC;AATe,mBAAW,cAS1B,CAAA","sourcesContent":["export function applyMixins(derivedCtor: any, baseCtors: any[]) {\n  for (let i = 0, len = baseCtors.length; i < len; i++) {\n    const baseCtor = baseCtors[i];\n    const propertyKeys = Object.getOwnPropertyNames(baseCtor.prototype);\n    for (let j = 0, len2 = propertyKeys.length; j < len2; j++) {\n      const name = propertyKeys[j];\n      derivedCtor.prototype[name] = baseCtor.prototype[name];\n    }\n  }\n}"]}

Version data entries

49 entries across 49 versions & 4 rubygems

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