<commit_before>if(html && isHostMethod(html, 'addEventListener')) {
	var getEventTarget = function(e) { 
	  var target = e.target; 
	  // Check if not an element (e.g. a text node) 
	  if (1 != target.nodeType) { 
	    // Set reference to parent node (which must be an element) 
	    target = target.parentNode; 
	  } 
	  return target; 
	};
}<commit_msg>moved variable declaration out of conditional<commit_after>
var getEventTarget;

if(html && isHostMethod(html, 'addEventListener')) {
	getEventTarget = function(e) { 
	  var target = e.target; 
	  // Check if not an element (e.g. a text node) 
	  if (1 != target.nodeType) { 
	    // Set reference to parent node (which must be an element) 
	    target = target.parentNode; 
	  } 
	  return target; 
	};
}
{'fraction_non_alphanumeric': 0.11710526315789474, 'fraction_numerical': 0.002631578947368421, 'mean_word_length': 2.9842931937172774, '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': '807350', 'n_tokens_mistral': 261, 'n_tokens_neox': 230, 'n_words': 77}