all repos — honk @ f9c48718e326aa7fd5ed9c6d0b62477beeb0ef8d

my fork of honk

more debugging info
Anirudh Oppiliappan x@icyphox.sh
Sun, 20 Nov 2022 15:19:12 +0530
commit

f9c48718e326aa7fd5ed9c6d0b62477beeb0ef8d

parent

3cdb0e7b181e4960a35d58e9addb6f9da77eaf84

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M views/honkpage.jsviews/honkpage.js

@@ -186,6 +186,7 @@ var data = evt.state

if (!data) { return } + console.log('statechanger: ', data) switchtopage(data.name, data.arg) } function switchtopage(name, arg) {

@@ -238,6 +239,7 @@ return function(evt) {

if (name == curpagestate.name && arg == curpagestate.arg) { return false } + console.log("pageswitcher: ", arg) switchtopage(name, arg) var url = evt.srcElement.href if (!url) {

@@ -251,6 +253,7 @@ }

function relinklinks() { var els = document.getElementsByClassName("convoylink") while (els.length) { + console.log("els thing: ", els[0].text) els[0].onclick = pageswitcher("convoy", els[0].text) els[0].classList.remove("convoylink") }
M web.goweb.go

@@ -2167,7 +2167,7 @@ a = avatateautogen(r)

goto nope } if res.StatusCode != 200 { - dlog.Printf("avatating: %n: not ok: %s", n, res.StatusCode) + dlog.Printf("avatating: %s: not ok: %d", n, res.StatusCode) a = avatateautogen(r) goto nope }