<commit_before>// IE
if ('HTMLElement' in this && 'contains' in HTMLElement.prototype) {
	delete HTMLElement.prototype.contains;
}

Node.prototype.contains = document.contains = Element.prototype.contains = function contains(node) {
	if (!(0 in arguments)) {
		throw new TypeError('1 argument is required');
	}

	do {
		if (this === node) {
			return true;
		}
	} while (node = node && node.parentNode);

	return false;
};<commit_msg>contains: Fix for IE7<commit_after>(function() {

	function contains(node) {
		if (!(0 in arguments)) {
			throw new TypeError('1 argument is required');
		}

		do {
			if (this === node) {
				return true;
			}
		} while (node = node && node.parentNode);

		return false;
	}

	// IE
	if ('HTMLElement' in this && 'contains' in HTMLElement.prototype) {
		try {
			delete HTMLElement.prototype.contains;
		} catch (e) {}
	}

	if ('Node' in this) {
		Node.prototype.contains = contains;
	} else {
		document.contains = Element.prototype.contains = contains;
	}

}());
{'fraction_non_alphanumeric': 0.14914914914914915, 'fraction_numerical': 0.005005005005005005, 'mean_word_length': 3.5454545454545454, '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': '2392937', 'n_tokens_mistral': 354, 'n_tokens_neox': 329, 'n_words': 89}