Code coverage report for cjs/util/applyMixins.js

Statements: 100% (10 / 10)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (10 / 10)      Ignored: none     

All files » cjs/util/ » applyMixins.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19    1 1   1 2 2 2 2 6 6           1  
"use strict";
 
exports.__esModule = true;
exports["default"] = applyMixins;
 
function applyMixins(derivedCtor, baseCtors) {
    for (var i = 0, len = baseCtors.length; i < len; i++) {
        var baseCtor = baseCtors[i];
        var propertyKeys = Object.getOwnPropertyNames(baseCtor.prototype);
        for (var j = 0, len2 = propertyKeys.length; j < len2; j++) {
            var _name = propertyKeys[j];
            derivedCtor.prototype[_name] = baseCtor.prototype[_name];
        }
    }
}
 
//# sourceMappingURL=applyMixins.js.map
module.exports = exports["default"];
//# sourceMappingURL=applyMixins.js.map