src/index.js
function setEnabledSources(config) {
    for (let source in config) {
        setSourceEnabled(source, config[source]);
    }
    haveSourcesBeenSelected = true;
}
function setEnabledSources(config) {
    for (let source in config) {
        setSourceEnabled(source, config[source]);
    }
    haveSourcesBeenSelected = true;
}
function setEnabledSources ( config ) { for ( let source in config ) { setSourceEnabled ( source , config [ source ] ) ; } haveSourcesBeenSelected = true ; }
expects an object whose keys are source names and whose values are boolean
expects an object whose keys are source names and whose values are boolean