<commit_before>(function(window, undefined) {
	"use strict";

	var nativeSlice = Array.prototype.slice;
	var nativeForEach = Array.prototype.forEach;

	var simpleEvent = function(array) {
		var elementList = nativeSlice.call(array);
		var i, len = elementList.length;
		for(i = 0;i < len;i++) {
			this[i] = elementList[i];
		}
		this.closureList = {};
		return {
			bind: function(type, eventHandler, useCapture) {
				_bind(this, type, eventHandler, useCapture);
				return this;
			},
			unbind: function(type, eventHandler, useCapture) {
				_unbind(this, type, eventHandler, useCapture);
				return this;
			},
			delegate: function(type, selector, eventHandler, useCapture) {
				_delegate(this, type, selector, eventHandler, useCapture);
				return this;
			},
			undelegate: function(type, selector, eventHandler, useCapture) {
				_undelegate(this, type, selector, eventHandler, useCapture);
				return this;
			}
		};
	};<commit_msg>update methods<commit_after>(function(window, undefined) {
	"use strict";

	var nativeSlice = Array.prototype.slice;
	var nativeForEach = Array.prototype.forEach;
	var nativeFilter = Array.prototype.filter;

	/**
	 * @param {Array} arary
	 */
	var simpleEvent = function(array) {
		var elementList = nativeFilter.call(array, function(item) {
			return !!item.nodeType
		}, array);
		this.length = elementList.length;
		for(var i = 0, len = this.length;i < len;i++) {
			this[i] = elementList[i];
		}
		this.closureList = {};
	};
	simpleEvent.prototype = {
		bind: function(type, eventHandler, useCapture) {
			_bind(this, type, eventHandler, useCapture);
			return this;
		},
		unbind: function(type, eventHandler, useCapture) {
			_unbind(this, type, eventHandler, useCapture);
			return this;
		},
		delegate: function(type, selector, eventHandler, useCapture) {
			_delegate(this, type, selector, eventHandler, useCapture);
			return this;
		},
		undelegate: function(type, selector, eventHandler, useCapture) {
			_undelegate(this, type, selector, eventHandler, useCapture);
			return this;
		}
	};
{'fraction_non_alphanumeric': 0.1315403422982885, 'fraction_numerical': 0.0009779951100244498, 'mean_word_length': 4.300518134715026, 'pattern_counts': {'":': 0, '<': 5, '<?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': '176976', 'n_tokens_mistral': 739, 'n_tokens_neox': 643, 'n_words': 154}