Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
oflatt committed Feb 10, 2025
1 parent 2b911e8 commit be64134
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
9 changes: 3 additions & 6 deletions infra/nightly-resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,9 @@ function refreshView() {
for (const suite of getSuites()) {
const tableData = tableForSuite(suite);
addTableTo(document.getElementById("tables"), tableData, suite + " Stats");
latexMacros = latexMacros + nestedJsonToLatexMacros(
tableData,
"name",
"executions",
"runMethod",
);
latexMacros =
latexMacros +
nestedJsonToLatexMacros(tableData, "name", "executions", "runMethod");
}

renderWarnings();
Expand Down
20 changes: 10 additions & 10 deletions infra/nightly-resources/latex.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@ function jsonToLatexTable(json) {
}

const replenum = {
"0": "zero",
"1": "one",
"2": "two",
"3": "three",
"4": "four",
"5": "five",
"6": "six",
"7": "seven",
"8": "eight",
"9": "nine",
0: "zero",
1: "one",
2: "two",
3: "three",
4: "four",
5: "five",
6: "six",
7: "seven",
8: "eight",
9: "nine",
};

// remove dashes and underscores, replace numbers with words
Expand Down

0 comments on commit be64134

Please sign in to comment.