Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
571 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | function applyMixins(derivedCtor, baseCtors) {
|
---|
| 4 | for (var i = 0, len = baseCtors.length; i < len; i++) {
|
---|
| 5 | var baseCtor = baseCtors[i];
|
---|
| 6 | var propertyKeys = Object.getOwnPropertyNames(baseCtor.prototype);
|
---|
| 7 | for (var j = 0, len2 = propertyKeys.length; j < len2; j++) {
|
---|
| 8 | var name_1 = propertyKeys[j];
|
---|
| 9 | derivedCtor.prototype[name_1] = baseCtor.prototype[name_1];
|
---|
| 10 | }
|
---|
| 11 | }
|
---|
| 12 | }
|
---|
| 13 | exports.applyMixins = applyMixins;
|
---|
| 14 | //# sourceMappingURL=applyMixins.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.