src/config.js
function _mergeConfig(base, override) {
    for (var key in override) {
        if (base[key] && typeof base[key] === "object" && typeof override[key] === "object") {
            _mergeConfig(base[key], override[key]);
        }
        else {
            base[key] = override[key];
        }
    }
}
function _mergeConfig(base, override) {
    for (var key in override) {
        if (base[key] && typeof base[key] === "object" && typeof override[key] === "object") {
            _mergeConfig(base[key], override[key]);
        }
        else {
            base[key] = override[key];
        }
    }
}
function _mergeConfig ( base , override ) { for ( var key in override ) { if ( base [ key ] && typeof base [ key ] === "object" && typeof override [ key ] === "object" ) { _mergeConfig ( base [ key ] , override [ key ] ) ; } else { base [ key ] = override [ key ] ; } } }
Merges the 'override' object into the 'base' object. Scalar values which exist in
both places are overridden, while object values are merged recursively.

@param {object} base - The base object to merge into
@param {object} override - An object containing overriding values to merge from
Merges the override object into the base object . Scalar values which exist in both places are overridden while object values are merged recursively .