<commit_before>$(document).on 'click', 'nav#primary a.back-to-main-menu', (e) ->
  e.preventDefault()
  $('nav#primary').removeClass('animated')

$(document).on 'click', 'nav#primary > ul > li > a', (e) ->
  link = $(this)
  $('nav#primary > ul > li').removeClass('active')
  link.parent().addClass('active')

  if link.parent().find('ul').length > 0
    $('nav#primary').addClass('animated')
    e.preventDefault()
  else
    $('nav#primary').removeClass('animated')

$(document).on 'click', 'nav#primary ul li a', (e) ->
  $('nav#primary ul li ul li').removeClass('active')
  $(this).parent().addClass('active')<commit_msg>Chacha<commit_after>$(document).on 'click', 'nav#primary a.back-to-main-menu', (e) ->
  e.preventDefault()
  $('nav#primary').removeClass('animated')

$(document).on 'click', 'nav#primary > ul > li > a', (e) ->
  link = $(this)

  $('nav#primary > ul > li').removeClass('active')
  link.parent().addClass('active')

  if link.parent().find('ul').length > 0
    if !$('nav#primary').hasClass('animated')
      $('nav#primary').addClass('animated')
      e.preventDefault()
  else
    $('nav#primary').removeClass('animated')

$(document).on 'click', 'nav#primary ul li a', (e) ->
  $('nav#primary ul li ul li').removeClass('active')
  $(this).parent().addClass('active')
{'fraction_non_alphanumeric': 0.2426584234930448, 'fraction_numerical': 0.0015455950540958269, 'mean_word_length': 4.7555555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '522771', 'n_tokens_mistral': 436, 'n_tokens_neox': 441, 'n_words': 81}