<commit_before>/*
 *	create knockout model to bind to the search element
 */												
function yelpViewModel() {
	// set this to the self variable
  var self = this;

	/*
	 *	set the bind-data to the search field to "Wendy's"
	 *	observe for change
	 */	
	self.searchTerm = ko.observable("Wendy's");

	/*
	 *	function to update the view model
	 */	
	self.updateYelpResults = function(){
		/*
		 *	return the updated data from the search field
		 *	then run the ajax function to create the yelp list
		 */	
		ko.computed(function(){
			yelpCall('30308', self.searchTerm());
		}, self);
	}	
}

/*
 *	Start knockout dependency tracking
 */	
ko.applyBindings(new yelpViewModel());<commit_msg>Space<commit_after>/*
 *	create knockout model to bind to the search element
 */
function yelpViewModel() {
    // set this to the self variable
    var self = this;

    /*
     *	set the bind-data to the search field to "Wendy's"
     *	observe for change
     */
    self.searchTerm = ko.observable("Wendy's");

    /*
     *	function to update the view model
     */
    self.updateYelpResults = function() {
        /*
         *	return the updated data from the search field
         *	then run the ajax function to create the yelp list
         */
        ko.computed(function() {
            yelpCall('30308', self.searchTerm());
        }, self);
    }
}

/*
 *	Start knockout dependency tracking
 */
ko.applyBindings(new yelpViewModel());
{'fraction_non_alphanumeric': 0.11257817929117443, 'fraction_numerical': 0.006949270326615705, 'mean_word_length': 2.495145631067961, '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': '5663039', 'n_tokens_mistral': 490, 'n_tokens_neox': 429, 'n_words': 141}