<commit_before>/* to change menu add/rm text */
$(document).ready(function() {
    if($(document).width() <= 768)
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>");
    else
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>  Menu");
});

$(window).resize(function() {
    if($(document).width() <= 768)
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>");
    else
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>  Menu");
});<commit_msg>improving header.js<commit_after>/* to change menu add/rm text */
var oldWidth;
$(document).ready(function() {
    if($(document).width() <= 768)
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>");
    else
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>  Menu");

    oldWidth = $(window).width();
});

$(window).resize(function() {
    if($(document).width() <= 768 && oldWidth > 768)
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>");
    else if($(document).width() > 768 && oldWidth <= 768)
        $('#menu').html("<i class='fa fa-bars' aria-hidden='true'></i>  Menu");

    oldWidth = $(window).width();
});
{'fraction_non_alphanumeric': 0.2767191383595692, 'fraction_numerical': 0.01739850869925435, 'mean_word_length': 3.664092664092664, 'pattern_counts': {'":': 0, '<': 24, '<?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': '2441468', 'n_tokens_mistral': 422, 'n_tokens_neox': 405, 'n_words': 77}