src/reference/config.js
function setConfig(newConf, isClearPrevious) {
    checkIsObject(newConf);
    config = isClearPrevious ? Immutable.fromJS(newConf) : config.merge(newConf);
}
function setConfig(newConf, isClearPrevious) {
    checkIsObject(newConf);
    config = isClearPrevious ? Immutable.fromJS(newConf) : config.merge(newConf);
}
function setConfig ( newConf , isClearPrevious ) { checkIsObject ( newConf ) ; config = isClearPrevious ? Immutable . fromJS ( newConf ) : config . merge ( newConf ) ; }
Set the reference configuration.
@param {object}  newConf         - The new configuration to set.
@param {Boolean} isClearPrevious - Does the config should be reset.
Set the reference configuration .