<commit_before>function __favicon(_favicon_url){
    var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
    link.type = 'image/x-icon';
    link.rel = 'shortcut icon';
    link.href = _favicon_url;
    document.getElementsByTagName('head')[0].appendChild(link);
}



// Sample random test
var _test = true;
var favicons_array = [ '//www.stackoverflow.com/favicon.ico',
		  '//news.ycombinator.com/favicon.ico' ];

setInterval(function(){ shuffle(favicons_array); __favicon(favicons_array[]) }, 1000);

<commit_msg>js patch<commit_after>function __favicon(_favicon_url){
    var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
    link.type = 'image/x-icon';
    link.rel = 'shortcut icon';
    link.href = _favicon_url;
    document.getElementsByTagName('head')[0].appendChild(link);
}



// Sample random test
var _test = true;
var favicons_array = [ '//www.stackoverflow.com/favicon.ico',
		  '//news.ycombinator.com/favicon.ico' ];

setInterval(function(){ shuffle(favicons_array); __favicon(favicons_array[0]) }, 1000);


{'fraction_non_alphanumeric': 0.16878402903811252, 'fraction_numerical': 0.009981851179673321, 'mean_word_length': 4.93010752688172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6458775', 'n_tokens_mistral': 400, 'n_tokens_neox': 364, 'n_words': 57}