Mercurial > code > home > repos > light9
changeset 2348:b98dc72978eb
reformat
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Jun 2023 15:21:40 -0700 |
parents | 56b8b94d43ac |
children | f7e564b42af3 |
files | light9/fade/Light9FadeUi.ts |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/fade/Light9FadeUi.ts Sat Jun 03 14:59:33 2023 -0700 +++ b/light9/fade/Light9FadeUi.ts Sat Jun 03 15:21:40 2023 -0700 @@ -14,11 +14,11 @@ const log = debug("fade"); class FaderConfig { -constructor(public uri: NamedNode,public column: number){} + constructor(public uri: NamedNode, public column: number) { } } class FadePage { - constructor(public uri: NamedNode) {} + constructor(public uri: NamedNode) { } faders: FaderConfig[] = []; } class FadePages { @@ -94,10 +94,10 @@ fp.faders.push(new FaderConfig(fader as NamedNode, parseFloat(colLit))); } fp.faders.sort((a, b) => { - return a.column-(b.column); + return a.column - (b.column); }); fadePages.pages.push(fp); - } catch (e) {} + } catch (e) { } } fadePages.pages.sort((a, b) => { return a.uri.value.localeCompare(b.uri.value); @@ -107,7 +107,7 @@ try { const mc = this.graph.uriValue(U(":midiControl"), U(":map")); this.currentHwPage = this.graph.uriValue(mc, U(":outputs")); - } catch (e) {} + } catch (e) { } } mapThisToHw(page: NamedNode) {