<commit_before>Gittip.upgrade = {};

Gittip.upgrade.init = function () {

    var userAgent = navigator.userAgent.toLowerCase();
    var browser = (userAgent.indexOf('msie') != -1) ? parseInt(userAgent.split('msie')[1], 10) : -1;

    if(browser != -1 && browser < 9) {
        var message = '' +
            '<div id="upgrade_browser">' +
            '   <div class="container">' +
            'This browser isn\'t supported by GitTip.com. ' +
            'We encourage You to upgrade or change browser. ' +
            '<a href="http://browsehappy.com">Learn more</a>' +
            '   </div>' +
            '</div>';
        $("body").prepend(message);
    }
};

$(document).ready(Gittip.upgrade.init);<commit_msg>Clean up the browser upgrade message<commit_after>Gittip.upgrade = {};

Gittip.upgrade.init = function () {

    var userAgent = navigator.userAgent.toLowerCase();
    var browser = (userAgent.indexOf('msie') != -1) ? parseInt(userAgent.split('msie')[1], 10) : -1;

    if(browser != -1 && browser < 9) {
        var message = '' +
            '<div id="upgrade_browser">' +
            '   <div class="container">' +
            'You\'re using a browser that we don\'t support. ' +
            'We encourage you to <a href="http://browsehappy.com/">upgrade</a>.' +
            '   </div>' +
            '</div>';
        $("body").prepend(message);
    }
};

$(document).ready(Gittip.upgrade.init);
{'fraction_non_alphanumeric': 0.187014820042343, 'fraction_numerical': 0.009880028228652082, 'mean_word_length': 2.297674418604651, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '6051629', 'n_tokens_mistral': 462, 'n_tokens_neox': 448, 'n_words': 89}