<commit_before>var screenshots = ["screenshot.png", "screenshot2.png", "screenshot3.png"];
var currentSlide = -1;

$('document').ready(function () {
    $("#footAbout").hover(function () {
        $("#footText").html("About");
    },
        function () {
            clearFootText();
        });
    $("#footReleases").hover(function () {
        $("#footText").html("Downloads");
    },
        function () {
            clearFootText();
        });
    $("#footTerms").hover(function () {
        $("#footText").html("Terms");
    },
        function () {
            clearFootText();
        });
    $("#footGithub").hover(function () {
        $("#footText").html("Github");
    },
        function () {
            clearFootText();
        });

    $('#leftArr').click(function () {
        $('#presenting').css("background-image", "url('" + screenshots[Math.abs(--currentSlide % 3)] + "')");
    });
    $('#rightArr').click(function () {
        nextSlide();
    });
    autoSlide();
});
function clearFootText() {
    $("#footText").html("");
}
function nextSlide() {
    $('#presenting').css("background-image", "url('" + screenshots[Math.abs(++currentSlide % 3)] + "')");
}
function autoSlide() {
    nextSlide();
    var slideTimer = setTimeout(autoSlide, 5000);
}<commit_msg>fixed timer<commit_after>var screenshots = ["screenshot.png", "screenshot2.png", "screenshot3.png"];
var currentSlide = -1;
var slideTimer = setTimeout(autoSlide, 5000);

$('document').ready(function () {
    $("#footAbout").hover(function () {
        $("#footText").html("About");
    },
        function () {
            clearFootText();
        });
    $("#footReleases").hover(function () {
        $("#footText").html("Downloads");
    },
        function () {
            clearFootText();
        });
    $("#footTerms").hover(function () {
        $("#footText").html("Terms");
    },
        function () {
            clearFootText();
        });
    $("#footGithub").hover(function () {
        $("#footText").html("Github");
    },
        function () {
            clearFootText();
        });

    $('#leftArr').click(function () {
        $('#presenting').css("background-image", "url('" + screenshots[Math.abs(--currentSlide % 3)] + "')");
    });
    $('#rightArr').click(function () {
        nextSlide();
    });
    autoSlide();
});
function clearFootText() {
    $("#footText").html("");
    slideTimer = setTimeout(autoSlide, 5000);
}
function nextSlide() {
    $('#presenting').css("background-image", "url('" + screenshots[Math.abs(++currentSlide % 3)] + "')");
    slideTimer = setTimeout(autoSlide, 5000);
}
function autoSlide() {
    nextSlide();
    slideTimer = setTimeout(autoSlide, 5000);
}
{'fraction_non_alphanumeric': 0.22710487444608568, 'fraction_numerical': 0.011078286558345642, 'mean_word_length': 2.731404958677686, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6147955', 'n_tokens_mistral': 832, 'n_tokens_neox': 831, 'n_words': 108}