<commit_before>$(document).ready(function()
{
	init();
});

function init()
{
	var $success = $('#success');
	var $username = $('#username');
	var $useSsl = $('#useSsl');

	$success.hide();
	$username.val(getItem('username'));
	
	if (getItem('useSsl') == 'true')
	{
		$useSsl.attr('checked', true);
	}
	else
	{
		$useSsl.attr('checked', false);	
	}
	

	$('#save').click(function(){
		if ($username.val().length > 0)
		{
			setItem('username', $username.val().toLowerCase());			
		}
		else
		{
			removeItem('username');
		}

		$useSsl.attr('checked') ? setItem('useSsl', true) : setItem('useSsl', false);
		$success.show().fadeOut(2000);
    });
}<commit_msg>Code formatting.<commit_after>$(document).ready(function()
{
	init();
});

function init()
{
	var $success = $('#success');
	var $username = $('#username');
	var $useSsl = $('#useSsl');

	$success.hide();
	$username.val(getItem('username'));
	
	if (getItem('useSsl') == 'true')
	{
		$useSsl.attr('checked', true);
	}
	else
	{
		$useSsl.attr('checked', false);	
	}
	

	$('#save').click(function(){
		if ($username.val().length > 0)
		{
			setItem('username', $username.val().toLowerCase());			
		}
		else
		{
			removeItem('username');
		}

		$useSsl.attr('checked') ? setItem('useSsl', true) : setItem('useSsl', false);
		$success.show().fadeOut(2000);
	});
}
{'fraction_non_alphanumeric': 0.248103186646434, 'fraction_numerical': 0.007587253414264037, 'mean_word_length': 4.318548387096774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7268080', 'n_tokens_mistral': 541, 'n_tokens_neox': 494, 'n_words': 75}