<commit_before>$( window )
	.on(
		'viewport:small',
		function() {
			console.log( 'viewport:small' );
			$('h1')
				.text('small screen detected by javascript!')
				.css('background-color','yellow');
			$('h2')
				.text('small')
				.css('border','1px solid purple');
		})
	.on(
		'viewport:medium',
		function() {
			console.log( 'viewport:medium' );
			$('h2')
				.text('medium')
				.css('border','1px solid red');
		})
	.on(
		'viewport:large',
		function() {
			console.log( 'viewport:large' );
			$('h2')
				.text('large')
				.css('border','1px solid yellow');
		})
	.on(
		'viewport:xlarge',
		function() {
			console.log( 'viewport:xlarge' );
			$('h2')
				.text('extra-large')
				.css('border','1px solid green');
		})
	.on(
		'viewport:not:small',
		function() {
			console.log( 'viewport:not:small' );
			$('h1')
				.text('medium and larger screen detected by javascript!')
				.css('background-color','yellow');
		});<commit_msg>refactoring<commit_after>$( window )
	.on(
		'viewport:small',
		function() {
			console.log( 'viewport:small' );
			$('h1')
				.text('small screen detected by javascript!');
			$('h2')
				.text('small')
				.css('border','1px solid purple');
		})
	.on(
		'viewport:medium',
		function() {
			console.log( 'viewport:medium' );
			$('h2')
				.text('medium')
				.css('border','1px solid red');
		})
	.on(
		'viewport:large',
		function() {
			console.log( 'viewport:large' );
			$('h2')
				.text('large')
				.css('border','1px solid yellow');
		})
	.on(
		'viewport:xlarge',
		function() {
			console.log( 'viewport:xlarge' );
			$('h2')
				.text('extra-large')
				.css('border','1px solid green');
		})
	.on(
		'viewport:not:small',
		function() {
			console.log( 'viewport:not:small' );
			$('h1')
				.text('medium and larger screen detected by javascript!');
		});
{'fraction_non_alphanumeric': 0.2289156626506024, 'fraction_numerical': 0.01095290251916758, 'mean_word_length': 3.2988235294117647, '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': '569542', 'n_tokens_mistral': 841, 'n_tokens_neox': 690, 'n_words': 124}