aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-03-01 11:48:55 -0500
committerJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-03-01 11:48:55 -0500
commit1691edb219ac969cb5fb7b3ac050ba4ddb98c86b (patch)
tree2274afbd23e448b42e459db09f75f99f860f4393
parent84866be8fdef3c24b9426722d6e52aa16e1ade8a (diff)
downloadcompiler-explorer-gh-6568.tar.gz
compiler-explorer-gh-6568.zip
Formatgh-6568
-rw-r--r--lib/compiler-finder.ts2
-rw-r--r--static/styles/themes/default-theme.scss2
-rw-r--r--static/widgets/compiler-picker-popup.ts10
3 files changed, 9 insertions, 5 deletions
diff --git a/lib/compiler-finder.ts b/lib/compiler-finder.ts
index e135ca417..5e0a6ad37 100644
--- a/lib/compiler-finder.ts
+++ b/lib/compiler-finder.ts
@@ -261,7 +261,7 @@ export class CompilerFinder {
versionRe: props<string>('versionRe'),
explicitVersion: props<string>('explicitVersion'),
compilerType: props('compilerType', ''),
- compilerCategories: props<string | undefined>('compilerCategories', undefined)?.split(":"),
+ compilerCategories: props<string | undefined>('compilerCategories', undefined)?.split(':'),
debugPatched: props('debugPatched', false),
demangler: demangler,
demanglerType: props('demanglerType', ''),
diff --git a/static/styles/themes/default-theme.scss b/static/styles/themes/default-theme.scss
index b5e5a4577..ae87d09b1 100644
--- a/static/styles/themes/default-theme.scss
+++ b/static/styles/themes/default-theme.scss
@@ -422,7 +422,7 @@ div.argmenuitem span.argdescription {
.compilers-col .group-wrapper .group {
.label {
// taking the color tom-select uses, but I find that a little low-contrast
- background: darken(#F6F6F6, 3%);
+ background: darken(#f6f6f6, 3%);
}
}
}
diff --git a/static/widgets/compiler-picker-popup.ts b/static/widgets/compiler-picker-popup.ts
index 65eb495ed..8a94021dc 100644
--- a/static/widgets/compiler-picker-popup.ts
+++ b/static/widgets/compiler-picker-popup.ts
@@ -74,13 +74,17 @@ export class CompilerPickerPopup {
const instruction_sets = compilers.map(compiler => compiler.instructionSet);
this.modalArchitectures.empty();
this.modalArchitectures.append(
- ...unique(instruction_sets).sort().map(isa => `<span class="architecture" data-value=${isa}>${isa}</span>`)
+ ...unique(instruction_sets)
+ .sort()
+ .map(isa => `<span class="architecture" data-value=${isa}>${isa}</span>`),
);
// get available compiler types
const compilerTypes = compilers.map(compiler => compiler.compilerCategories ?? ['other']).flat();
this.modalCompilerTypes.empty();
this.modalCompilerTypes.append(
- ...unique(compilerTypes).sort().map(type => `<span class="compiler-type" data-value=${type}>${type}</span>`)
+ ...unique(compilerTypes)
+ .sort()
+ .map(type => `<span class="compiler-type" data-value=${type}>${type}</span>`),
);
// search box
@@ -142,7 +146,7 @@ export class CompilerPickerPopup {
}
}
if (this.categoryFilters.length > 0) {
- const categories = compiler.compilerCategories ?? ["other"];
+ const categories = compiler.compilerCategories ?? ['other'];
if (intersection(this.categoryFilters, categories).length === 0) {
return false;
}