Mercurial > code > home > repos > light9
changeset 2360:6c6b29d21959
carefully rm parameter
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Jun 2023 17:54:27 -0700 |
parents | b0f56292fdae |
children | 7f30a35f3bf5 |
files | light9/ascoltami/Light9AscoltamiUi.ts light9/ascoltami/main.ts |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/ascoltami/Light9AscoltamiUi.ts Sat Jun 03 17:52:29 2023 -0700 +++ b/light9/ascoltami/Light9AscoltamiUi.ts Sat Jun 03 17:54:27 2023 -0700 @@ -260,7 +260,7 @@ } byId("updateReq").innerText = "" + updateFreq; - (window as any).finishOldStyleSetup(this.times, updateFreq, this.onOldStyleUpdate.bind(this)); + (window as any).finishOldStyleSetup(this.times, this.onOldStyleUpdate.bind(this)); } onOldStyleUpdate(data: TimingUpdate) {
--- a/light9/ascoltami/main.ts Sat Jun 03 17:52:29 2023 -0700 +++ b/light9/ascoltami/main.ts Sat Jun 03 17:54:27 2023 -0700 @@ -13,7 +13,7 @@ state: { current: { name: string }; pending: { name: string } }; } -(window as any).finishOldStyleSetup = async (times: { intro: number; post: number }, updateFreq: number, timingUpdate: (data: TimingUpdate) => void) => { +(window as any).finishOldStyleSetup = async (times: { intro: number; post: number }, timingUpdate: (data: TimingUpdate) => void) => { let currentHighlightedSong = ""; // let lastPlaying = false;