{"size": 305, "ext": "js", "max_stars_repo_path": "libs/bem-components/common.blocks/menu/_mode/menu_mode_radio.bh.js", "max_stars_repo_name": "skyway777/bem-php-project", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "libs/bem-components/common.blocks/menu/_mode/menu_mode_radio.bh.js", "max_issues_repo_name": "skyway777/bem-php-project", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "libs/bem-components/common.blocks/menu/_mode/menu_mode_radio.bh.js", "max_forks_repo_name": "skyway777/bem-php-project", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.5, "max_line_length": 67, "alphanum_fraction": 0.5672131148}
module.exports = function(bh) {
    bh.match('menu_mode_radio', function(ctx) {
        ctx.applyBase();
        var firstItem = ctx.tParam('firstItem');
        if(firstItem && !ctx.tParam('checkedItems').length) {
            (firstItem.mods = firstItem.mods || {}).checked = true;
        }
    });
};
