90f23716d9cc88cd3e5d15feec7f52945bb015855f912643e7010e8bb1de6b6d7ab18745f7098769fae13f84fab03755424270990e02c056592b416c584a3a 466 B

1234567891011
  1. export function applyMixins(derivedCtor, baseCtors) {
  2. for (let i = 0, len = baseCtors.length; i < len; i++) {
  3. const baseCtor = baseCtors[i];
  4. const propertyKeys = Object.getOwnPropertyNames(baseCtor.prototype);
  5. for (let j = 0, len2 = propertyKeys.length; j < len2; j++) {
  6. const name = propertyKeys[j];
  7. derivedCtor.prototype[name] = baseCtor.prototype[name];
  8. }
  9. }
  10. }
  11. //# sourceMappingURL=applyMixins.js.map