<commit_before>/* EventDispatcher */
(function EventDispatcherStaticScope() {
	if (!window.blackberry)
		blackberry = new Object();
	if (!blackberry.grahamzibar)
		blackberry.grahamzibar = new Object();
	if (!blackberry.grahamzibar.events)
		blackberry.grahamzibar.events = new Object();
	
	Function.prototype.blackberry_grahamzibar_events_EventDispatcher_ID = 0;
	var ID = 0;
	blackberry.grahamzibar.events.EventDispatcher = function EventDispatcher() {
		var _events = {};
		var _count = {};
		
		this.addEventListener = function addEventListener(event, callback) {
			var rry = _events[event];
			if (!rry) {
				rry = _events[event] = {};
				_count[event] = 0;
			}
			_count[event]++;
			var id = callback.blackberry_grahamzibar_events_EventDispatcher_ID = ID++;
			rry[id] = callback;
		};
		
		this.removeEventListener = function removeEventListener(event, callback) {
			var rry = _events[event];
			if (!rry)
				return;
			var id = callback.blackberry_grahamzibar_events_EventDispatcher_ID;
			if (!rry[id])
				return;
			delete rry[id];
			var count = --_count[event];
			if (!count) {
				delete _events[event];
				delete _count[event];
			}
			callback.blackberry_grahamzibar_events_EventDispatcher_ID = 0;
		};
		
		this.dispatchEvent = function dispatchEvent(event, data) {
			var rry = _events[event];
			if (!rry)
				return;
			for (var id in rry)
				rry[id](data);<commit_msg>EventDispatcher Update<commit_after>/* EventDispatcher */
(function EventDispatcherStaticScope() {
	if (!window.blackberry)
		blackberry = new Object();
	if (!blackberry.grahamzibar)
		blackberry.grahamzibar = new Object();
	if (!blackberry.grahamzibar.events)
		blackberry.grahamzibar.events = new Object();
	
	Function.prototype.blackberry_grahamzibar_events_EventDispatcher_ID = 0;
	var ID = 0;
	blackberry.grahamzibar.events.EventDispatcher = function EventDispatcher() {
		var _events = {};
		var _count = {};
		
		this.addEventListener = function addEventListener(event, callback) {
			var rry = _events[event];
			if (!rry) {
				rry = _events[event] = {};
				_count[event] = 0;
			}
			_count[event]++;
			rry[callback.blackberry_grahamzibar_events_EventDispatcher_ID || ++ID] = callback;
		};
		
		this.removeEventListener = function removeEventListener(event, callback) {
			var rry = _events[event];
			if (!rry)
				return;
			var id = callback.blackberry_grahamzibar_events_EventDispatcher_ID;
			if (!rry[id])
				return;
			delete rry[id];
			var count = --_count[event];
			if (!count) {
				delete _events[event];
				delete _count[event];
			}
			callback.blackberry_grahamzibar_events_EventDispatcher_ID = 0;
		};
		
		this.dispatchEvent = function dispatchEvent(event, data) {
			var rry = _events[event];
			if (!rry)
				return;
			for (var id in rry)
				rry[id](data);
{'fraction_non_alphanumeric': 0.12285100286532952, 'fraction_numerical': 0.0028653295128939827, 'mean_word_length': 4.068965517241379, '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': '2395044', 'n_tokens_mistral': 1118, 'n_tokens_neox': 932, 'n_words': 189}