<commit_before>$.ajax({
    url: '/ajax/schedule/',
}).done(function (data) {
	//collecting list of restaurant names from server data	
	var restaurants = [];
	
	for (var i = 0; i < data.data.length; i++) {
		restaurants.push(data.data[i].name);
	};
	//Monitors for keyboard activity to detect when the input field is empty
    $('#searchBar').keyup(function() {
		var value = $('#searchBar').val();
		if (value == 0){
			//resets all backgrounds to white if the search bar is empty 
			$('.open').css('background-color','white');
			$('.closed').css('background-color','white');
		}	  
	});	   	
	// For doumentation on jQuery's autocomplete: (api.jqueryui.com/autocomplete)     	 	
    $("#searchBar").autocomplete({  
    	source: restaurants,
    	//making it so the search result list doesn't physically appear 
    	messages: { 
        	noResults: '',
        	results: function(){} 
        },
        response: function(event, ui) {
			//resets all backgrounds to white if the search bar is edited 
			$('.open').css('background-color','white');
			$('.closed').css('background-color','white');
			//ui.content array contains all names that are returned from the search
			for (var result in ui.content){
				//Highlights all search results	
				$('.open:contains("'+ui.content[result].value+'")').css('background-color','#FDFFBF');
				$('.closed:contains("'+ui.content[result].value+'")').css('background-color','#FDFFBF');
			}
            // To prevent the page width from extending
            $('.ui-autocomplete').remove();
		}
	});
});<commit_msg>Changed jQuery classes in typeAhead.js to match new CSS<commit_after>$.ajax({
    url: '/ajax/schedule/',
}).done(function (data) {
	//collecting list of restaurant names from server data	
	var restaurants = [];
	
	for (var i = 0; i < data.data.length; i++) {
		restaurants.push(data.data[i].name);
	};
	//Monitors for keyboard activity to detect when the input field is empty
    $('#searchBar').keyup(function() {
		var value = $('#searchBar').val();
		if (value == 0){
			//resets all backgrounds to white if the search bar is empty 
			$('.opened').css('background-color','white');
			$('.closed').css('background-color','white');
		}	  
	});	   	
	// For doumentation on jQuery's autocomplete: (api.jqueryui.com/autocomplete)     	 	
    $("#searchBar").autocomplete({  
    	source: restaurants,
    	//making it so the search result list doesn't physically appear 
    	messages: { 
        	noResults: '',
        	results: function(){} 
        },
        response: function(event, ui) {
			//resets all backgrounds to white if the search bar is edited 
			$('.opened').css('background-color','white');
			$('.closed').css('background-color','white');
			//ui.content array contains all names that are returned from the search
			for (var result in ui.content){
				//Highlights all search results	
				$('.opened:contains("'+ui.content[result].value+'")').css('background-color','#FDFFBF');
				$('.closed:contains("'+ui.content[result].value+'")').css('background-color','#FDFFBF');
			}
            // To prevent the page width from extending
            $('.ui-autocomplete').remove();
		}
	});
});
{'fraction_non_alphanumeric': 0.1767485822306238, 'fraction_numerical': 0.001260239445494644, 'mean_word_length': 3.1776315789473686, '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': '753636', 'n_tokens_mistral': 1024, 'n_tokens_neox': 930, 'n_words': 256}