mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 10:15:31 +00:00
doing prettier
This commit is contained in:
parent
e0724c338c
commit
f637ccae7d
2 changed files with 6 additions and 7 deletions
|
|
@ -171,11 +171,11 @@ export class UIRoot {
|
|||
}
|
||||
const url = imgCache.get(groupId);
|
||||
// TODO: Techincally we only need one per image/gammagroup.
|
||||
cssRules.push(` ${bitmap.getCSSVar()}: url(${url});`)
|
||||
cssRules.push(` ${bitmap.getCSSVar()}: url(${url});`);
|
||||
}
|
||||
cssRules.unshift(':root{')
|
||||
cssRules.push('}')
|
||||
const cssEl = document.getElementById('bitmap-css');
|
||||
cssRules.unshift(":root{");
|
||||
cssRules.push("}");
|
||||
const cssEl = document.getElementById("bitmap-css");
|
||||
cssEl.textContent = cssRules.join("\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,9 +80,8 @@ export function findLast<T>(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
export function getUrlQuery(location:Location, variable:string):string {
|
||||
return new URL(location.href).searchParams.get(variable)
|
||||
export function getUrlQuery(location: Location, variable: string): string {
|
||||
return new URL(location.href).searchParams.get(variable);
|
||||
}
|
||||
|
||||
export class Emitter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue