<commit_before>/*
 * Author: CM
 */
(function($) {
	$.event.special.clickConfirmed = {
		bindType: "click",
		delegateType: "click",
		handle: function(event) {
			var $this = $(this);
			if ($this.hasClass('confirmClick')) {
				return event.handleObj.handler.call(this, event);
			}
			$this.addClass('confirmClick');
			$this.attr('title', cm.language.get('Please Confirm')).tooltip().mouseenter();
		}
	};
})(jQuery);
<commit_msg>Added timeout (5 sec) before deactivating the confirm button again<commit_after>/*
 * Author: CM
 */
(function($) {
	$.event.special.clickConfirmed = {
		bindType: "click",
		delegateType: "click",
		handle: function(event) {
			var $this = $(this);
			if ($this.hasClass('confirmClick')) {
				return event.handleObj.handler.call(this, event);
			}
			$this.addClass('confirmClick');
			$this.attr('title', cm.language.get('Please Confirm')).tooltip('enable').mouseenter();
			setTimeout(function() {
				$this.removeClass('confirmClick');
				$this.removeAttr('title').tooltip('disable').mouseleave();
			}, 5000);
		}
	};
})(jQuery);

{'fraction_non_alphanumeric': 0.19981325863678806, 'fraction_numerical': 0.004668534080298786, 'mean_word_length': 4.469387755102041, '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': '833803', 'n_tokens_mistral': 396, 'n_tokens_neox': 348, 'n_words': 61}