js/utils/common.js
function mix(destination, source) {
    for (var property in source) {
        if (property.substr(0, 2) !== "__" && !(property in destination)) {
            destination[property] = source[property];
        }
    }
    return destination;
}
function mix(destination, source) {
    for (var property in source) {
        if (property.substr(0, 2) !== "__" && !(property in destination)) {
            destination[property] = source[property];
        }
    }
    return destination;
}
Mixes mixin source properties into destination object unless the property starts with __
@param {Object} destination
@param {Object} source
@returns {Object}