Mercurial > code > home > repos > light9
diff light9/live/Light9DeviceSettings.ts @ 2259:7d26fa1ed4e7
renames and comments (mostly)
author | drewp@bigasterisk.com |
---|---|
date | Mon, 29 May 2023 11:44:22 -0700 |
parents | 75dfd7eb1e77 |
children | e9239995eb57 |
line wrap: on
line diff
--- a/light9/live/Light9DeviceSettings.ts Mon May 29 11:41:11 2023 -0700 +++ b/light9/live/Light9DeviceSettings.ts Mon May 29 11:44:22 2023 -0700 @@ -73,7 +73,7 @@ getTopGraph().then((g) => { this.graph = g; - this.graph.runHandler(this.findDevices.bind(this), "findDevices"); + this.graph.runHandler(this.compile.bind(this), "findDevices"); this.setEffectFromUrl(); }); } @@ -98,7 +98,7 @@ // Note that this doesn't fetch setting values, so it only should get rerun // upon (rarer) changes to the devices etc. todo: make that be true - findDevices(patch?: Patch) { + private compile(patch?: Patch) { const U = this.graph.U(); // if (patch && !patchContainsPreds(patch, [U("rdf:type")])) { // return;