<commit_before>#$ ->
#  # Display javascript only tags
#  $('.javascript-only').removeClass('javascript-only')
#
#  # Remove noscript tags for the lulz
#  $('noscript').remove()

#(function(d){
#	var a = d.getElementsByClassName('javascript-only');
#	for(var i=0; i<a.length; ++i){
#		a[i].className = a[i].className.replace('javascript-only', '');
#	}
#	a = document.getElementsByTagName('noscript');
#	for(i=0; i<a.length; ++i){
#		(a[i].parentNode || a[i].parentElement).removeChild(a[i]);
#	}
#})(document);
((d) ->
  a = d.getElementsByClassName('javascript-only')
  i = 0
  while i < a.length
    a[i].className = a[i].className.replace('javascript-only', '')
    ++i
  a = document.getElementsByTagName('noscript')
  i = 0
  while i < a.length
    (a[i].parentNode or a[i].parentElement).removeChild a[i]
    ++i
  return
) document<commit_msg>:clap: Forgot to remove old code<commit_after>((d) ->
  a = d.getElementsByClassName('javascript-only')
  i = 0
  while i < a.length
    a[i].className = a[i].className.replace('javascript-only', '')
    ++i
  a = document.getElementsByTagName('noscript')
  i = 0
  while i < a.length
    (a[i].parentNode or a[i].parentElement).removeChild a[i]
    ++i
  return
) document
{'fraction_non_alphanumeric': 0.1968954248366013, 'fraction_numerical': 0.004901960784313725, 'mean_word_length': 4.125523012552302, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1523830', 'n_tokens_mistral': 458, 'n_tokens_neox': 454, 'n_words': 85}