<commit_before>	var keyboard = {
		exceptions : [
			16, // shift
			17, // ctrl
			18, // alt
			20, // caps lock
		]
	};

$(document).ready(function() {
	$('.delete-toggle').each(function(index,elem) {
		$(elem).click(function(e) {
			e.preventDefault();
			var row_id = $(this).data('row_id');
			$('#crud_delete_form').attr('action', $(elem).data('url'));

			var selector = '#delete_model';
			console.warn(row_id);
			if (row_id)
			{
				selector = '.delete_' + row_id;
			}

			$(selector).modal('show');
		});
	});

	$('#module_name').change(function() {
		$.get(BASE+'/admin/returnviews/'+this.value, function(data) {
			$('#tmp_name').html(data);
		});
	});

	$('.ibecTranslit_ru').keypress(function(event)<commit_msg>Fixes a bug in admin.js<commit_after>	var keyboard = {
		exceptions : [
			16, // shift
			17, // ctrl
			18, // alt
			20, // caps lock
		]
	};

$(document).ready(function() {
	$('.delete-toggle').each(function(index,elem) {
		$(elem).click(function(e) {
			e.preventDefault();
			var row_id = $(this).data('row_id');
			$('#crud_delete_form').attr('action', $(elem).data('url'));

			var selector = '#delete_modal';

			if (typeof row_id !== 'undefined')
			{
				selector = '.delete_' + row_id;
			}

			$(selector).modal('show');
		});
	});

	$('#module_name').change(function() {
		$.get(BASE+'/admin/returnviews/'+this.value, function(data) {
			$('#tmp_name').html(data);
		});
	});

	$('.ibecTranslit_ru').keypress(function(event)
{'fraction_non_alphanumeric': 0.23585548738922973, 'fraction_numerical': 0.010906612133605999, 'mean_word_length': 3.544891640866873, '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': '5096996', 'n_tokens_mistral': 619, 'n_tokens_neox': 536, 'n_words': 78}