<commit_before>#= require jquery
#= require jquery_ujs
#= require turbolinks
#= require bootstrap

#turbolinks spinner
$(document).on 'page:fetch', ->
  $('.turbolink-spinner').removeClass('hide')
  $('.turbolink-spinner').fadeIn()

$(document).on 'page:receive', ->
  $('.turbolink-spinner').fadeOut()

#turbolinks and tooltips
$(document).on "ready page:change", ->
  $('.has_bottom_tooltip').tooltip(placement: 'bottom')

$ ->
  # Flash
  if (flash = $(".flash-container")).length > 0
    flash.click -> $(@).fadeOut()
    flash.show()
    setTimeout (-> flash.fadeOut()), 3000

  # Bottom tooltip
  $('.has_bottom_tooltip').tooltip(placement: 'bottom')<commit_msg>flash messages fadeout inteval increased into 5s<commit_after>#= require jquery
#= require jquery_ujs
#= require turbolinks
#= require bootstrap

#turbolinks spinner
$(document).on 'page:fetch', ->
  $('.turbolink-spinner').removeClass('hide')
  $('.turbolink-spinner').fadeIn()

$(document).on 'page:receive', ->
  $('.turbolink-spinner').fadeOut()

#turbolinks and tooltips
$(document).on "ready page:change", ->
  $('.has_bottom_tooltip').tooltip(placement: 'bottom')

$ ->
  # Flash
  if (flash = $(".flash-container")).length > 0
    flash.click -> $(@).fadeOut()
    flash.show()
    setTimeout (-> flash.fadeOut()), 5000

  # Bottom tooltip
  $('.has_bottom_tooltip').tooltip(placement: 'bottom')
{'fraction_non_alphanumeric': 0.199854121079504, 'fraction_numerical': 0.008023340627279359, 'mean_word_length': 4.7405857740585775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '3510382', 'n_tokens_mistral': 493, 'n_tokens_neox': 465, 'n_words': 87}