Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

applyMixins.js 511B

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