<commit_before>const songs = [...document.querySelectorAll('.songList li')];
const currentSong = document.querySelector('#currentSong');
songs.map((s) => {
  s.addEventListener('click', () => {
    currentSong.setAttribute('src', "https://archive.org/download/plays_some_standards/" + s.textContent.toLowerCase().replace(/\s/g, '_') + ".mp3");
    songs.map((i) => {
      i.style.textDecoration = 'none';
    });
    s.style.textDecoration = 'underline';<commit_msg>Make clicking a song play it.<commit_after>const songs = [...document.querySelectorAll('.songList li')];
const currentSong = document.querySelector('#currentSong');
songs.map((s) => {
  s.addEventListener('click', () => {
    currentSong.setAttribute('src', "https://archive.org/download/plays_some_standards/" + s.textContent.toLowerCase().replace(/\s/g, '_') + ".mp3");
    songs.map((i) => {
      i.style.textDecoration = 'none';
    });
    s.style.textDecoration = 'underline';
    currentSong.play();
{'fraction_non_alphanumeric': 0.20431211498973306, 'fraction_numerical': 0.002053388090349076, 'mean_word_length': 4.446927374301676, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2788911', 'n_tokens_mistral': 306, 'n_tokens_neox': 308, 'n_words': 41}