<commit_before>	// by <NAME> (http://simon.incuitio.com/)

	function addLoadEvent(func) {
	    var oldonload = window.onload;
	    if (typeof window.onload != "function") {
	        window.onload = func;
	    } else {
	        window.onload = function() {
	            oldonload();
	            func();
	        }
	    }
	}

	function hideOld() {
		if (!document.getElementsByTagName) return false;
	    var today = new Date();
	    var posts = document.getElementsByTagName("li");
	    for (var i = 0; i < posts.length; i++)
	        if (posts[i].id) {
	            var postDate = new Date(posts[i].id);
	           	console.log(postDate);
	           	console.log(today);
	            if (postDate < today) {
	                posts[i].hidden = true;
	            }
	        }
	}

  

	addLoadEvent(hideOld);


<commit_msg>split scripts and compiled<commit_after>	function hideOld() {
		if (!document.getElementsByTagName) return false;
	    var today = new Date();
	    var posts = document.getElementsByTagName("li");
	    for (var i = 0; i < posts.length; i++)
	        if (posts[i].id) {
	            var postDate = new Date(posts[i].id);
	           	console.log(postDate);
	           	console.log(today);
	            if (postDate < today) {
	                posts[i].hidden = true;
	            }
	        }
	}
{'fraction_non_alphanumeric': 0.133434420015163, 'fraction_numerical': 0.001516300227445034, 'mean_word_length': 1.755741127348643, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 4, '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': '7417275', 'n_tokens_mistral': 445, 'n_tokens_neox': 400, 'n_words': 91}