Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Oct 23, 2024
1 parent 582502f commit ef55d6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/developer-mode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function span(text) {
}

function createUIForMeasurementMethod() {
const {checkbox, label} = createCheckboxUI("rAF timing", params.measurementMethod === "raf");
const { checkbox, label } = createCheckboxUI("rAF timing", params.measurementMethod === "raf");
checkbox.onchange = () => {
params.measurementMethod = checkbox.checked ? "raf" : "timer";
updateURL();
Expand All @@ -51,7 +51,7 @@ function createUIForMeasurementMethod() {
}

function createUIForWarmupSuite() {
const {checkbox, label} = createCheckboxUI("Use Warmup Suite", params.useWarmupSuite);
const { checkbox, label } = createCheckboxUI("Use Warmup Suite", params.useWarmupSuite);
checkbox.onchange = () => {
params.useWarmupSuite = checkbox.checked;
updateURL();
Expand All @@ -60,7 +60,7 @@ function createUIForWarmupSuite() {
}

function createUIForDebugMetrics() {
const {checkbox, label} = createCheckboxUI("Measure Debug Metrics", params.debugMetrics);
const { checkbox, label } = createCheckboxUI("Measure Debug Metrics", params.debugMetrics);
checkbox.onchange = () => {
params.debugMetrics = checkbox.checked;
updateURL();
Expand All @@ -76,7 +76,7 @@ function createCheckboxUI(labelValue, initialValue) {
const label = document.createElement("label");
label.append(checkbox, " ", span(labelValue));

return {checkbox, label};
return { checkbox, label };
}

function createUIForIterationCount() {
Expand Down

0 comments on commit ef55d6e

Please sign in to comment.