<commit_before>(function(module, window) {
	window[module] = {

		listeners: {},

		init: function(element) {
			this.parent = element || document.querySelector('article');
			this.populate();

			this.dispatch('init') && this.activate(0);

			return this;
		},
		activate: function(n) {
			if(this.index == n || n < 0 || n > this.deck.length - 1)
				return;

			if(this.index >= 0 && !this.dispatch('deactivate', {
				index: this.index,
				element: this.deck[this.index]<commit_msg>Allow activation of current slide.<commit_after>(function(module, window) {
	window[module] = {

		listeners: {},

		init: function(element) {
			this.parent = element || document.querySelector('article');
			this.populate();

			this.dispatch('init') && this.activate(0);

			return this;
		},
		activate: function(n) {
			if(n < 0 || n > this.deck.length - 1)
				return;

			if(this.index >= 0 && !this.dispatch('deactivate', {
				index: this.index,
				element: this.deck[this.index]
{'fraction_non_alphanumeric': 0.17659137577002054, 'fraction_numerical': 0.008213552361396304, 'mean_word_length': 3.5348837209302326, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4067855', 'n_tokens_mistral': 380, 'n_tokens_neox': 315, 'n_words': 63}