<commit_before>;(function(){

	var mouseActive = false,
		// selectors = 'input:not([type="checkbox"],[type="radio"]), input[type="checkbox"]+label, input[type="radio"]+label, textarea, button, .button';
		selectors = 'input, select, textarea, button, .button';

	$core.body
		.on('mousedown', selectors, function(){
			mouseActive = true;
			setTimeout(function(){
				mouseActive = false;
			}, 100);
		})
		.on('mousedown', 'label', function(){
			mouseActive = true;
		})
		.on('focus', selectors, function(){
			if(mouseActive === false) {
				$(this).addClass('focused');
			}
		})
		.on('blur', selectors, function(){
			$(this).removeClass('focused');
		});

}());<commit_msg>Format form-focus.js per the linter rules.<commit_after>(function() {

	var
		mouseActive = false,
		selectors = 'input, select, textarea, button, .button';

	$core.body
		.on('mousedown', selectors, function() {

			mouseActive = true;
			setTimeout(function() {

				mouseActive = false;

			}, 100);

		})
		.on('mousedown', 'label', function() {

			mouseActive = true;

		})
		.on('focus', selectors, function() {

			if (mouseActive === false) {

				$(this).addClass('focused');

			}

		})
		.on('blur', selectors, function() {

			$(this).removeClass('focused');

		});

}());
{'fraction_non_alphanumeric': 0.20803782505910165, 'fraction_numerical': 0.004728132387706856, 'mean_word_length': 3.8846153846153846, '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': '5543799', 'n_tokens_mistral': 507, 'n_tokens_neox': 416, 'n_words': 83}