this.rows = []; var self = this; results_passer.on("loading", function() { self.notLoading = false; self.update(); }); results_passer.on("new_results", function(data) { console.log("new search results detected"); console.log(data); self.rows = data; self.notLoading = true; self.update(); });