<commit_before>export default {
	bind(instance) {
		instance.$websomGlobalHandlers = {};

		return function on(event, handler, all) {
			instance.$websomGlobalHandlers[event] = handler;
			document.addEventListener(event, handler, all);
		};
	},
	unbind(isntance) {
		const handlers = instance.$websomGlobalHandlers;

		if (handlers)
			for (let handle in handlers)
				if (handlers.hasOwnProperty(handle))
					document.removeEventListener(handlers[handle]);
	}
}<commit_msg>Fixed typo.<commit_after>export default {
	bind(instance) {
		instance.$websomGlobalHandlers = {};

		return function on(event, handler, all) {
			instance.$websomGlobalHandlers[event] = handler;
			document.addEventListener(event, handler, all);
		};
	},
	unbind(instance) {
		const handlers = instance.$websomGlobalHandlers;

		if (handlers)
			for (let handle in handlers)
				if (handlers.hasOwnProperty(handle))
					document.removeEventListener(handlers[handle]);
	}
}
{'fraction_non_alphanumeric': 0.1231578947368421, 'fraction_numerical': 0.0, 'mean_word_length': 4.906832298136646, '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': '5263772', 'n_tokens_mistral': 337, 'n_tokens_neox': 287, 'n_words': 57}