<commit_before>functions = {
    setButtonNav : function () {
        var windowWidth = $(window).width(),
            buttonNav = $('.side-nav__button');

        buttonNav.addClass('on-mobile');
    }
};

$(document).ready(function () {
    functions.setButtonNav();

    $('.side-nav-container').hover(function () {
        $(this).addClass('is-showed');
        $('.kudo').addClass('hide');
    }, function() {
        $(this).removeClass('is-showed');
        $('.kudo').removeClass('hide');
    });

    $(window).scroll(function () {
        var logotype = $('.logotype'),
            buttonNav = $('.side-nav__button'),
            buttonNavMobile = buttonNav.filter('.on-mobile'),
            scrollTop = $(window).scrollTop(),
            windowHeight = $(window).height(),
            kudoSide = $('.kudo'),
            kudoBottom = $('.instapaper'), // $('.kudo-bottom')
            kudoBottomPosition = false;

            if (kudoBottom.length > 0) {<commit_msg>Adjust button animation on mobile<commit_after>functions = {
    setButtonNav : function () {
        var windowWidth = $(window).width(),
            buttonNav = $('.side-nav__button');

        if (windowWidth < 500) {
            buttonNav.addClass('on-mobile');
        } else {
            buttonNav.removeClass('on-mobile');
        }
    }
};

$(document).ready(function () {
    functions.setButtonNav();

    $('.side-nav-container').hover(function () {
        $(this).addClass('is-showed');
        $('.kudo').addClass('hide');
    }, function() {
        $(this).removeClass('is-showed');
        $('.kudo').removeClass('hide');
    });

    $(window).scroll(function () {
        var logotype = $('.logotype'),
            buttonNav = $('.side-nav__button'),
            buttonNavMobile = buttonNav.filter('.on-mobile'),
            scrollTop = $(window).scrollTop(),
            windowHeight = $(window).height(),
            kudoSide = $('.kudo'),
            kudoBottom = $('.instapaper'), // $('.kudo-bottom')
            kudoBottomPosition = false;

            if (kudoBottom.length > 0) {
{'fraction_non_alphanumeric': 0.19385796545105566, 'fraction_numerical': 0.0023992322456813818, 'mean_word_length': 2.183206106870229, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '3273227', 'n_tokens_mistral': 589, 'n_tokens_neox': 568, 'n_words': 87}