Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
511 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.