<commit_before>$(function () {
    sg.common.remove_histories();

    $("#index").on("click", function () {
        window.location.href = "/index";
    });

    $("#btn_login").on("click", function () {
        window.location.href = "/auth/login";
    });

    $("#btn_logout").on("click", function () {
        sg.common.cookie.del("utoken");
        window.location.href = "/my";
    });
});<commit_msg>退出登录确认<commit_after>$(function () {
    sg.common.remove_histories();

    $("#index").on("click", function () {
        window.location.href = "/index";
    });

    $("#btn_login").on("click", function () {
        window.location.href = "/auth/login";
    });

    $("#btn_logout").on("click", function () {
        if (window.confirm('确定要退出登录吗？')) {
            sg.common.cookie.del("utoken");
            window.location.href = "/my";
        }
    });
});
{'fraction_non_alphanumeric': 0.2350230414746544, 'fraction_numerical': 0.0, 'mean_word_length': 2.476, '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': '172625', 'n_tokens_mistral': 284, 'n_tokens_neox': 289, 'n_words': 32}