<commit_before>/*global global,globalDocument,isHostMethod */

/*
Description:
Relies on `document.addEventListener`.
*/

/*
Degrades:
IE8, IE7, IE6, IE5.5, IE5, IE4, IE3
*/

var attachDocumentListener;

if(globalDocument && isHostMethod(globalDocument, 'addEventListener')) {
	attachDocumentListener = function(eventType, fn) {
		
		var listener = function(e) {
			fn.call(e, e);
		};

		document.addEventListener(eventType, listener, false);

		return listener;
	};
}<commit_msg>updated this value to be document<commit_after>/*global global,globalDocument,isHostMethod */

/*
Description:
Relies on `document.addEventListener`.
*/

/*
Degrades:
IE8, IE7, IE6, IE5.5, IE5, IE4, IE3
*/

var attachDocumentListener;

if(globalDocument && isHostMethod(globalDocument, 'addEventListener')) {
	attachDocumentListener = function(eventType, fn) {
		
		var listener = function(e) {
			fn.call(document, e);
		};

		document.addEventListener(eventType, listener, false);

		return listener;
	};
}
{'fraction_non_alphanumeric': 0.13549039433771487, 'fraction_numerical': 0.016177957532861477, 'mean_word_length': 5.111111111111111, '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': '3009323', 'n_tokens_mistral': 336, 'n_tokens_neox': 310, 'n_words': 69}