<commit_before>// set eu cookie law cookie
function EuCookieAccept(){
    console.log("cookie set");
    var CurrentDateTime = "date";
    document.cookie = "agree-to-cookies=yes; expires=Mon, 1 APR 2030 12:00:00 UTC";
}

// check if eu cookie law cookie exists
function EuCookieCheck(){
    if (document.cookie.length == 0) {
        document.getElementById("eu-cookie-warning").style.display = 'block';
    }
}

// when the page is ready - http://youmightnotneedjquery.com/#ready
function ready(fn) {
    if (document.readyState != 'loading'){
        fn();
    } else {
        document.addEventListener('DOMContentLoaded', fn);
    }
}

// load scripts here
ready(function() {
    console.log("Seems to be working.");
    EuCookieCheck();
});<commit_msg>Update main.js<commit_after>// set eu cookie law cookie
function euCookieAccept(){
    console.log("cookie set");
    var CurrentDateTime = "date";
    document.cookie = "agree-to-cookies=yes; expires=Mon, 1 APR 2030 12:00:00 UTC";
}

// check if eu cookie law cookie exists
function euCookieCheck(){
    if (document.cookie.length == 0) {
        document.getElementById("eu-cookie-warning").style.display = 'block';
    }
}

// when the page is ready - http://youmightnotneedjquery.com/#ready
function ready(fn) {
    if (document.readyState != 'loading'){
        fn();
    } else {
        document.addEventListener('DOMContentLoaded', fn);
    }
}

// load scripts here
ready(function() {
    console.log("Seems to be working.");
    euCookieCheck();
});
{'fraction_non_alphanumeric': 0.14831905075807514, 'fraction_numerical': 0.015820698747528016, 'mean_word_length': 3.349570200573066, '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': '1182302', 'n_tokens_mistral': 474, 'n_tokens_neox': 445, 'n_words': 119}