<commit_before>(() => {
  let randomLine = ''; 
  document.addEventListener('DOMContentLoaded', () => {
    quoteReader();
  });
  
  /*
  *  Make AJAX request to read and retrieve a random
  *  quote from the text file.
  */
  function quoteReader() {
    jQuery.get('https://raw.githubusercontent.com/williamgrosset/fokus/master/quotes/short-and-shuffled-quotes.txt', (data) => {    
      const fileContentLines = data.split('\n');
      const randomLineIndex = Math.floor(Math.random() * fileContentLines.length);
      randomLine = fileContentLines[randomLineIndex];
      typeFooter();
    });
  }

  /*
  *  typed.js: wwww.mattboldt.com
  *  Type out footer quote on page load.
  */
  function typeFooter() {
    $('#bottom-quote').typed({
      strings: ['Do what you love. ^2000', randomLine],
      contentType: 'html',
      showCursor: false,
      typeSpeed: 10,
      backSpeed: 10
    });
  }
})();<commit_msg>remove all lint errors for quote.js<commit_after>(() => {
  let randomLine = '';

  /*
  *  typed.js: wwww.mattboldt.com
  *  Type out footer quote on page load.
  */
  function typeFooter() {
    $('#bottom-quote').typed({
      strings: ['Do what you love. ^2000', randomLine],
      contentType: 'html',
      showCursor: false,
      typeSpeed: 10,
      backSpeed: 10,
    });
  }

  /*
  *  Make AJAX request to read and retrieve a random
  *  quote from the text file.
  */
  function quoteReader() {
    jQuery.get('https://raw.githubusercontent.com/williamgrosset/fokus/master/quotes/short-and-shuffled-quotes.txt', (data) => {
      const fileContentLines = data.split('\n');
      const randomLineIndex = Math.floor(Math.random() * fileContentLines.length);
      randomLine = fileContentLines[randomLineIndex];
      typeFooter();
    });
  }

  document.addEventListener('DOMContentLoaded', () => {
    quoteReader();
  });
})();
{'fraction_non_alphanumeric': 0.1542581681842528, 'fraction_numerical': 0.00856989823245849, 'mean_word_length': 2.9326315789473685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5791276', 'n_tokens_mistral': 616, 'n_tokens_neox': 600, 'n_words': 125}