<commit_before>$(document).click(function(){
  console.log(event.target.id)
  if (event.target.id != "navopen"){
    console.log("debug")
    $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
    $("#navclose").removeAttr("id").attr("id","navopen");
  };
})
function drop1(){
    if (event.target.id == "navopen"){
      $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
      $(".dropdown1").removeClass("dropClosed").addClass("dropOpened");
    }
    else if (event.target.id == "navclose"){
      $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
    }
  }
  function drop2(){
    if (event.target.id == "navopen"){
      $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
      $(".dropdown2").removeClass("dropClosed").addClass("dropOpened");
    }
    else if (event.target.id == "navclose"){
      $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
    }
  }
  function drop3(){
    if (event.target.id == "navopen"){
      $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
      $(".dropdown3").removeClass("dropClosed").addClass("dropOpened");
    }
    else if (event.target.id == "navclose"){
      $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
    }
  }<commit_msg>Bestemmer om den er åben eller lukket ved modulus 2<commit_after>var s = 0
$(document).click(function(){
  console.log(event.target.id);
  if (event.target.id != "navopen"){
    console.log("debug")
    $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
    $("#navclose").removeAttr("id").attr("id","navopen");
    s += 1
  } else if (s % 2 == 0){
    $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
    $("#navclose").removeAttr("id").attr("id","navopen");
  }
})
function drop1(){
  $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
  $(".dropdown1").removeClass("dropClosed").addClass("dropOpened");
  s += 1
}
function drop2(){
  $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
  $(".dropdown2").removeClass("dropClosed").addClass("dropOpened");
  s += 1
}
function drop3(){
  $(".dropOpened").removeClass("dropOpened").addClass("dropClosed");
  $(".dropdown3").removeClass("dropClosed").addClass("dropOpened");
  s += 1
}
{'fraction_non_alphanumeric': 0.23257839721254356, 'fraction_numerical': 0.008710801393728223, 'mean_word_length': 4.920103092783505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5057579', 'n_tokens_mistral': 737, 'n_tokens_neox': 721, 'n_words': 91}