From c1da3b6a57317d3cc49acb4915453c5876ae36ee Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Mon, 23 Jun 2025 18:07:21 -0400 Subject: [PATCH] Cleaned up some CoffeeScript syntax --- assets/scripts/test.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/scripts/test.coffee b/assets/scripts/test.coffee index aebedbf..2f93411 100644 --- a/assets/scripts/test.coffee +++ b/assets/scripts/test.coffee @@ -42,8 +42,7 @@ fetchTestBenchmarkResults = (testId, benchmarkId) -> catch 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') console.log("Fetching results for benchmark id: " + benchmarkId) fetchTestBenchmarkResults(testId, benchmarkId) -)