<commit_before>
if(typeof(Storage) == "undefined") {
  // Sorry! No Web Storage support..
  printError('Sorry! No Web Storage support..');
}

var savedTimes = [];

function saveTime() {
  var currentTime = document.getElementById("chronotime").innerHTML
  // savedTimes = localStorage.getItem("savedTimes")
  // if (savedTimes == null) savedTimes = [];
  savedTimes.push(currentTime)
  localStorage.setItem("savedTimes", savedTimes)
  var scroll = document.getElementById('scroll')
  scroll.scrollTop = scroll.scrollHeight;
}

function updateTimes() {
  //savedTimes = localStorage.getItem("savedTimes")
  var table = '';
  for (i = 0; i < savedTimes.length; i++) {
    table += '<tr><td>'+(i+1)+'</td><td>'+savedTimes[i]+'</td><td onclick="deleteTime('+i+')">X</td></tr>';
  }
  document.getElementById('savedTimes').innerHTML = table<commit_msg>fixed error in windows<commit_after>
if(typeof(Storage) == "undefined") {
  // Sorry! No Web Storage support..
  printError('Sorry! No Web Storage support..');
}

var savedTimes = [];

function saveTime() {
  var currentTime = document.getElementById("chronotime").innerHTML
  // savedTimes = localStorage.getItem("savedTimes")
  // if (savedTimes == null) savedTimes = [];
  savedTimes.push(currentTime)
  //localStorage.setItem("savedTimes", savedTimes)
  var scroll = document.getElementById('scroll')
  scroll.scrollTop = scroll.scrollHeight;
}

function updateTimes() {
  //savedTimes = localStorage.getItem("savedTimes")
  var table = '';
  for (i = 0; i < savedTimes.length; i++) {
    table += '<tr><td>'+(i+1)+'</td><td>'+savedTimes[i]+'</td><td onclick="deleteTime('+i+')">X</td></tr>';
  }
  document.getElementById('savedTimes').innerHTML = table
{'fraction_non_alphanumeric': 0.18651026392961878, 'fraction_numerical': 0.002346041055718475, 'mean_word_length': 4.965034965034965, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, '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': '6286329', 'n_tokens_mistral': 523, 'n_tokens_neox': 524, 'n_words': 104}