<commit_before>

/**
 * These click handlers prevent the new page from flashing up for a split second if isRegistered == false
 */
$('#verilog_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('verilog.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
});
$('#results_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('result.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
});
$('#options_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('options.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
});
$('#about_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('about.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
});


//force the X close button to show up in dialog box.
var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
$.fn.bootstrapBtn = bootstrapButton            // give $().bootstrapBtn the Bootstrap functionality

<commit_msg>about.html page can be accessed without login<commit_after>

/**
 * These click handlers prevent the new page from flashing up for a split second if isRegistered == false
 */
$('#verilog_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('verilog.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
    else if(window.location.href.indexOf("about.html") > -1){
        window.location.replace('index.html');
        return false;
    }
});
$('#results_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('result.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
    else if(window.location.href.indexOf("about.html") > -1){
        window.location.replace('index.html');
        return false;
    }
});
$('#options_link').on('click', function() {
    if(isRegistered()) {
        window.location.replace('options.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    }
    else if(window.location.href.indexOf("about.html") > -1){
        window.location.replace('index.html');
        return false;
    }
});
$('#about_link').on('click', function() {
    //if(isRegistered()) {
        window.location.replace('about.html');
        return false; // prevents current page from reloading so that the new page can be loaded
    //}
});


//force the X close button to show up in dialog box.
var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
$.fn.bootstrapBtn = bootstrapButton            // give $().bootstrapBtn the Bootstrap functionality


{'fraction_non_alphanumeric': 0.13790828109534806, 'fraction_numerical': 0.0009897723523589574, 'mean_word_length': 3.1084010840108403, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '2103432', 'n_tokens_mistral': 816, 'n_tokens_neox': 808, 'n_words': 266}