<commit_before>{# Gestion des tooltips #}
if($.cookie("tooltips_placement") == null) {
  $.cookie("tooltips_placement", "left");
}
get_tooltips_options = function() {
  return {placement: $.cookie("tooltips_placement")};};


var tooltips = $('*[title], *[data-original-title]');
tooltips_disable = function() {
  $.cookie("tooltips_enabled", "false");
  tooltips.tooltip('destroy');
};
tooltips_enable = function() {
  $.cookie("tooltips_enabled", "true");
  tooltips.tooltip(get_tooltips_options());
};


var tooltips_enabled = $.cookie("tooltips_enabled");
if(tooltips_enabled == null || tooltips_enabled == "true") {
  tooltips_enable();
}


tooltips_reload = function() {tooltips_disable(); tooltips_enable();};
tooltips_placement = function(dir) {
  $.cookie("tooltips_placement", dir);
  tooltips_reload();
};
{# Fin de la gestion des tooltips #}


{# Gestion des cadres d’alerte #}
$('.alert').alert();
{# Fin de la gestion des cadres d’alerte #}<commit_msg>Applique les cookies sur tout le site.<commit_after>{# Gestion des tooltips #}
if($.cookie("tooltips_placement") == null) {
  $.cookie("tooltips_placement", "left", {path: '/'});
}
get_tooltips_options = function() {
  return {placement: $.cookie("tooltips_placement")};};


var tooltips = $('*[title], *[data-original-title]');
tooltips_disable = function() {
  $.cookie("tooltips_enabled", "false", {path: '/'});
  tooltips.tooltip('destroy');
};
tooltips_enable = function() {
  $.cookie("tooltips_enabled", "true", {path: '/'});
  tooltips.tooltip(get_tooltips_options());
};


var tooltips_enabled = $.cookie("tooltips_enabled");
tooltips_enable();
if(tooltips_enabled == "false") {
  tooltips_disable();
}


tooltips_reload = function() {tooltips_disable(); tooltips_enable();};
tooltips_placement = function(dir) {
  $.cookie("tooltips_placement", dir, {path: '/'});
  tooltips_reload();
};
{# Fin de la gestion des tooltips #}


{# Gestion des cadres d’alerte #}
$('.alert').alert();
{# Fin de la gestion des cadres d’alerte #}
{'fraction_non_alphanumeric': 0.195, 'fraction_numerical': 0.0, 'mean_word_length': 6.276363636363636, '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': '7285817', 'n_tokens_mistral': 718, 'n_tokens_neox': 664, 'n_words': 133}