{"size": 372, "ext": "js", "max_stars_repo_path": "config-tester/src/functions/updateWebchartsVersion.js", "max_stars_repo_name": "RhoInc/webcharts-tests", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "config-tester/src/functions/updateWebchartsVersion.js", "max_issues_repo_name": "RhoInc/webcharts-tests", "max_issues_repo_issues_event_min_datetime": "2017-11-12T19:20:39.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-07T12:58:23.000Z", "max_forks_repo_path": "config-tester/src/functions/updateWebchartsVersion.js", "max_forks_repo_name": "RhoInc/webcharts-tests", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 27, "max_forks_count": null, "avg_line_length": 33.8181818182, "max_line_length": 82, "alphanum_fraction": 0.6129032258}
export default function updateWebchartsVersion(version) {
    const options = this.containers.controls.webchartsVersion.selectAll('option');
    if (version) options.property('selected', d => d.name === version);
    else
        this.webchartsVersion = options
            .filter(function() {
                return this.selected;
            })
            .datum();
}
