Cleaned up some CoffeeScript syntax

This commit is contained in:
Gregory Ballantine 2025-06-23 18:07:21 -04:00
parent 175bfa0dfd
commit c1da3b6a57

View File

@ -42,8 +42,7 @@ fetchTestBenchmarkResults = (testId, benchmarkId) ->
catch error catch error
console.error 'An error occurred while fetching benchmark results.', error console.error 'An error occurred while fetching benchmark results.', error
$('#results-table tbody tr').each((index, tr) -> $('#results-table tbody tr').each (index, tr) ->
benchmarkId = $(tr).data('benchmark-id') benchmarkId = $(tr).data('benchmark-id')
console.log("Fetching results for benchmark id: " + benchmarkId) console.log("Fetching results for benchmark id: " + benchmarkId)
fetchTestBenchmarkResults(testId, benchmarkId) fetchTestBenchmarkResults(testId, benchmarkId)
)