Mercurial > code > home > repos > light9
changeset 2158:9d3e6bfe30aa
log
author | drewp@bigasterisk.com |
---|---|
date | Thu, 18 May 2023 10:25:40 -0700 |
parents | 94b58da02abc |
children | 5c56aa348813 |
files | light9/web/live/Light9LiveControls.ts |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/web/live/Light9LiveControls.ts Thu May 18 10:25:23 2023 -0700 +++ b/light9/web/live/Light9LiveControls.ts Thu May 18 10:25:40 2023 -0700 @@ -99,6 +99,7 @@ log(`found ${classes.length} device classes`); uniq(sortBy(classes, "value"), true).forEach((dc) => { sortBy(this.graph.subjects(U("rdf:type"), dc), "value").forEach((dev) => { + log(`found dev ${dev.value}`) this.devices.push(dev as NamedNode); }); }); @@ -127,7 +128,7 @@ } u.searchParams.set("effect", effectStr); // this escapes : and / and i wish it didn't window.history.replaceState({}, "", u.href); - return log("wrote new url", u.href); + log("wrote new url", u.href); } newEffect() {