function updateCounter() {
	$.getJSON(
		config.counturl,
		function(data) {
			$('#counter').text(data[0]);
			$('#hrfix').text(data[1]);
			$('#dayfix').text(data[2]);
		});	
}
// this function gets the latest counts for total remaining errors, amount fixed in last hr and amount fixed in last day and updates the page with the results.
this function gets the latest counts for total remaining errors, amount fixed in last hr and amount fixed in last day and updates the page with the results.
this function gets the latest counts for total remaining errors amount fixed in last hr and amount fixed in last day and updates the page with the results .
function updateCounter() {
	$.getJSON(
		config.counturl,
		function(data) {
			$('#counter').text(data[0]);
			$('#hrfix').text(data[1]);
			$('#dayfix').text(data[2]);
		});	
}
function updateCounter ( ) { $ . getJSON ( config . counturl , function ( data ) { $ ( '#counter' ) . text ( data [ 0 ] ) ; $ ( '#hrfix' ) . text ( data [ 1 ] ) ; $ ( '#dayfix' ) . text ( data [ 2 ] ) ; } ) ; }
this function gets the latest counts for total remaining errors, amount fixed in last hr and amount fixed in last day and updates the page with the results.
this function gets the latest counts for total remaining errors amount fixed in last hr and amount fixed in last day and updates the page with the results .