<commit_before>var blogMenus = document.getElementsByName("blog-menu");
var projectsMenu = document.getElementsByName("projects-menu");
var diff1 = "";
var diff2 = "../";
if(document.URL.includes("index.html") || document.URL == "http://oliver-jk-redding.github.io/") {
  diff1 = "blog/";
  diff2 = "";  
}
else {  
  drawBlogMenu(blogMenus[1]);
}
drawBlogMenu(blogMenus[0]);
drawProjectMenu(projectsMenu[0]);

function drawBlogMenu(menu) {  
  menu.innerHTML = ""+
  "<li class=\"u-cf\">"+
    "<a style=\"padding-top: 10px;\" href=\"" + diff + "c1-reflection-blog.html\">Shereef's Fireside Chat</a>"+
    "</li>"+
  "<li class=\"u-cf\">"+
    "<a href=\"" + diff + "c1-time-and-habits-blog.html\">Time and Habits</a>"+ 
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "c2-emotional-intelligence.html\">Emotional Intelligence</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "t2-html-css-dom-p1.html\">HTML, CSS & DOM</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "t2-html-css-dom-p2.html\">HTML, CSS & DOM 2</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+
    "<a href=\"" + diff + "t3-design-to-web-blog.html\">Design to Web</a>"+       
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "c3-meditation-process.html\">Meditation Process</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "t4-javascript-basics.html\">Javascript Basics</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "c4-daily-mindfulness.html\">Daily Mindfulness</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "c5-self-confidence.html\">Self Confidence</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "t5-problem-solving.html\">Problem Solving</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "t6-testing.html\">Testing</a>"+
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff + "c6-control.html\">Control</a>"+
  "</li>"+
  "";
}

function drawProjectMenu(menu) {  
  menu.innerHTML = ""+
  "<li class=\"u-cf\">"+
    "<a style=\"padding-top: 10px;\" href=\"" + diff + "javascript-racer/index.html\">Javascript Racer</a>"+  
  "</li>"+ 
  "<li class=\"u-cf\">"+
    "<a style=\"padding-top: 10px;\" href=\"" + diff + "udacity-resume/index.html\">Udacity Resume</a>"+  
  "</li>"+
  "";
}<commit_msg>javascript fix<commit_after>var blogMenus = document.getElementsByName("blog-menu");
var projectsMenu = document.getElementsByName("projects-menu");
var diff1 = "";
var diff2 = "../";
if(document.URL.includes("index.html") || document.URL == "http://oliver-jk-redding.github.io/") {
  diff1 = "blog/";
  diff2 = "";  
}
else {  
  drawBlogMenu(blogMenus[1]);
}
drawBlogMenu(blogMenus[0]);
drawProjectMenu(projectsMenu[0]);

function drawBlogMenu(menu) {  
  menu.innerHTML = ""+
  "<li class=\"u-cf\">"+
    "<a style=\"padding-top: 10px;\" href=\"" + diff1 + "c1-reflection-blog.html\">Shereef's Fireside Chat</a>"+
    "</li>"+
  "<li class=\"u-cf\">"+
    "<a href=\"" + diff1 + "c1-time-and-habits-blog.html\">Time and Habits</a>"+ 
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "c2-emotional-intelligence.html\">Emotional Intelligence</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "t2-html-css-dom-p1.html\">HTML, CSS & DOM</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "t2-html-css-dom-p2.html\">HTML, CSS & DOM 2</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+
    "<a href=\"" + diff1 + "t3-design-to-web-blog.html\">Design to Web</a>"+       
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "c3-meditation-process.html\">Meditation Process</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "t4-javascript-basics.html\">Javascript Basics</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "c4-daily-mindfulness.html\">Daily Mindfulness</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "c5-self-confidence.html\">Self Confidence</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "t5-problem-solving.html\">Problem Solving</a>"+   
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "t6-testing.html\">Testing</a>"+
  "</li>"+
  "<li class=\"u-cf\">"+ 
    "<a href=\"" + diff1 + "c6-control.html\">Control</a>"+
  "</li>"+
  "";
}

function drawProjectMenu(menu) {  
  menu.innerHTML = ""+
  "<li class=\"u-cf\">"+
    "<a style=\"padding-top: 10px;\" href=\"" + diff2 + "javascript-racer/index.html\">Javascript Racer</a>"+  
  "</li>"+ 
  "<li class=\"u-cf\">"+
    "<a style=\"padding-top: 10px;\" href=\"" + diff2 + "udacity-resume/index.html\">Udacity Resume</a>"+  
  "</li>"+
  "";
}
{'fraction_non_alphanumeric': 0.29255989911727615, 'fraction_numerical': 0.015342580916351408, 'mean_word_length': 3.019425675675676, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2900306', 'n_tokens_mistral': 1931, 'n_tokens_neox': 1993, 'n_words': 313}