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
govuk_publishing_components-16.21.0 node_modules/rxjs/util/applyMixins.js.map
govuk_publishing_components-16.20.1 node_modules/rxjs/util/applyMixins.js.map
govuk_publishing_components-16.20.0 node_modules/rxjs/util/applyMixins.js.map
govuk_publishing_components-16.19.0 node_modules/rxjs/util/applyMixins.js.map
govuk_publishing_components-16.18.0 node_modules/rxjs/util/applyMixins.js.map
govuk_publishing_components-16.17.0 node_modules/rxjs/util/applyMixins.js.map
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/inquirer/node_modules/rxjs/util/applyMixins.js.map
locomotivecms-3.4.0 app/javascript/node_modules/rxjs/util/applyMixins.js.map
dragonfly_puppeteer-0.1.0 node_modules/rxjs/util/applyMixins.js.map