js/utils/common.js
function mixin(instance, mixins) {
    mixins.forEach(function(Mixin) {
        mix(instance, Mixin);
    });
    return instance;
}
function mixin(instance, mixins) {
    mixins.forEach(function(Mixin) {
        mix(instance, Mixin);
    });
    return instance;
}
Mixes all mixins into the instance
@param {Object} instance
@param {Object[]} mixins
@returns {Object}