Add web front-end and fix API issues
This commit is contained in:
1 parent
45ca4de0ad
commit
a7524412f0
2571 files changed
+86998
-5
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
export function applyMixins(derivedCtor, baseCtors) {
|
||||
for (let i = 0, len = baseCtors.length; i < len; i++) {
|
||||
const baseCtor = baseCtors[i];
|
||||
const propertyKeys = Object.getOwnPropertyNames(baseCtor.prototype);
|
||||
for (let j = 0, len2 = propertyKeys.length; j < len2; j++) {
|
||||
const name = propertyKeys[j];
|
||||
derivedCtor.prototype[name] = baseCtor.prototype[name];
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=applyMixins.js.map
|
||||
Reference in new issue
Block a user