Basic style edits

This is just to cleanup the code to follow proper coding styles.
This commit is contained in:
imsaguy
2015-03-31 15:33:11 -05:00
parent 5845c37daf
commit f6246f840c

View File

@ -60,7 +60,7 @@ window.plugin.scoreCycleTimes.update = function() {
timeStr = timeStr.replace(/:00$/,''); //FIXME: doesn't remove seconds from AM/PM formatted dates timeStr = timeStr.replace(/:00$/,''); //FIXME: doesn't remove seconds from AM/PM formatted dates
return '<tr><td>'+label+'</td><td>'+timeStr+'</td></tr>'; return '<tr><td>'+label+'</td><td>'+timeStr+'</td></tr>';
} };
var html = '<table>' var html = '<table>'
+ formatRow('Cycle start', cycleStart) + formatRow('Cycle start', cycleStart)
@ -72,7 +72,7 @@ window.plugin.scoreCycleTimes.update = function() {
$('#score_cycle_times_display').html(html); $('#score_cycle_times_display').html(html);
setTimeout ( window.plugin.scoreCycleTimes.update, checkpointEnd-now); setTimeout ( window.plugin.scoreCycleTimes.update, checkpointEnd-now);
} };