function mixin(target, source, overlay) {
    target = 'prototype' in target ? target.prototype : target;
    source = 'prototype' in source ? source.prototype : source;

    defaults(target, source, overlay);
}
@memberOf module:zrender/core/util
@param {Object|Function} target
@param {Object|Function} sorce
@param {boolean} overlay