<commit_before>// Compatibility
if (typeof String.prototype.trim != 'function') {
	String.prototype.trim = function () {
		return this.replace(/^\s+|\s+$/g, '');
	};
}

if (typeof String.prototype.startsWith != 'function') {
	String.prototype.startsWith = function (str){
		return this.substring(0, input.length) === input;
	};
}

if (typeof String.prototype.endsWith != 'function') {
	String.prototype.endsWith = function (str){
		return this.slice(-str.length) == str;
	};
}

if (typeof Object.prototype.hasOwnProperty != 'function') {
	Object.prototype.hasOwnProperty = function(str) {
		if (this.getAttribute(str)) { return true; }
		return false;
	};
}

if (typeof Object.prototype.hasAttribute != 'function') {
	Object.prototype.hasAttribute = function(str) {
		return this.hasOwnProperty(str);
	};
}

if ( typeof Object.prototype.stop != 'function' ) {
	Object.prototype.stop = function(e) {
		var ev = window.event ? window.event : e;
		if ( ev.preventDefault ) {
			ev.preventDefault(e);
		} else {
			ev.returnValue = false;
		}
		if ( ev.cancelBubble ) {
			ev.cancelBubble = true;
		}
		return false;
	}<commit_msg>Update m.js<commit_after>// Compatibility
if (typeof String.prototype.trim != 'function') {
	String.prototype.trim = function () {
		return this.replace(/^\s+|\s+$/g, '');
	};
}

if (typeof String.prototype.startsWith != 'function') {
	String.prototype.startsWith = function (str){
		return this.substring(0, input.length) === input;
	};
}

if (typeof String.prototype.endsWith != 'function') {
	String.prototype.endsWith = function (str){
		return this.slice(-str.length) == str;
	};
}

if (typeof Object.prototype.hasOwnProperty != 'function') {
	Object.prototype.hasOwnProperty = function(str) {
		if (this.getAttribute(str)) { return true; }
		return false;
	};
}

if (typeof Object.prototype.hasAttribute != 'function') {
	Object.prototype.hasAttribute = function(str) {
		return this.hasOwnProperty(str);
	};
}

if ( typeof Object.prototype.stop != 'function' ) {
	Object.prototype.stop = function(e) {
		if ( e.preventDefault ) {
			e.preventDefault();
		} else {
			e.returnValue = false;
		}
		if ( e.stopPropagation ) {
			e.stopPropagation();
		}
		if ( window.event ) {
			window.event.cancelBubble = true;
		}
	}
{'fraction_non_alphanumeric': 0.1669626998223801, 'fraction_numerical': 0.0008880994671403197, 'mean_word_length': 3.9407894736842106, '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': '6106754', 'n_tokens_mistral': 782, 'n_tokens_neox': 756, 'n_words': 145}