<commit_before>function getParameter(theParameter) { 
	var params = window.location.search.substr(1).split('&');
	for (var i = 0; i < params.length; i++) {
		var p=params[i].split('=');
		if (p[0] == theParameter) {
			return decodeURIComponent(p[1]);
		}
	}
	return false;
};

window.onload = function () {
	$("#" + getParameter("active")).addClass("active");
};<commit_msg>Update nav.js<commit_after>function getParameter(theParameter) { 
	var params = window.location.search.substr(1).split('&');
	for (var i = 0; i < params.length; i++) {
		var p=params[i].split('=');
		if (p[0] == theParameter) {
			return decodeURIComponent(p[1]);
		}
	}
	return false;
};
{'fraction_non_alphanumeric': 0.2066365007541478, 'fraction_numerical': 0.012066365007541479, 'mean_word_length': 4.724137931034483, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1632853', 'n_tokens_mistral': 251, 'n_tokens_neox': 241, 'n_words': 46}