{"size": 647, "ext": "js", "max_stars_repo_path": "blocks/scoreboards/scoreboards.js", "max_stars_repo_name": "busy-human/design-website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "blocks/scoreboards/scoreboards.js", "max_issues_repo_name": "busy-human/design-website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "blocks/scoreboards/scoreboards.js", "max_forks_repo_name": "busy-human/design-website", "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": 38.0588235294, "max_line_length": 85, "alphanum_fraction": 0.658423493}
export default function decorate($block) {
  const $boards = $block.querySelectorAll(':scope > div');

  // eslint-disable-next-line no-restricted-syntax
  for (const board of $boards) {
    /** const { properties } = decorateDivisions(board, null, { level: "child" }); */
    board.classList.add('scoreboard');
    board.querySelector('div:nth-child(1)').classList.add('number');
    board.querySelector('div:nth-child(2)').classList.add('caption');
    /**
     * board.querySelector("div:nth-child(3)").classList.add("tag");
     * Currently we want to remove the tag element
     */
    board.querySelector('div:nth-child(3)').remove();
  }
}
