This commit is contained in:
Pieter Vander Vennet 2025-02-24 18:41:13 +01:00
parent 8d643fcf69
commit 2d673089ab
2 changed files with 19 additions and 21 deletions

View file

@ -2,8 +2,6 @@ import { OsmConnection } from "../src/Logic/Osm/OsmConnection"
import Constants from "../src/Models/Constants"
import { Utils } from "../src/Utils"
import { UIEventSource } from "../src/Logic/UIEventSource"
import { VariableUiElement } from "../src/UI/Base/VariableUIElement"
import Combine from "../src/UI/Base/Combine"
import { QueryParameters } from "../src/Logic/Web/QueryParameters"
console.log("Authorizing...")
@ -13,12 +11,6 @@ console.log("Prev state is", key, st)
const tokenSrc = new UIEventSource("")
const debug = new UIEventSource<string[]>([])
new Combine([
new VariableUiElement(
debug.map((debug) => "<ul><li>" + debug.join("</li><li>") + "</li></ul>")
),
new VariableUiElement(tokenSrc),
]).AttachTo("token")
const connection = new OsmConnection()
connection.finishLogin(async () => {