From 615e20c34a57419570136ef61ac374787407f73e Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sun, 9 Oct 2016 16:21:33 -0400 Subject: [PATCH] generate output on load --- web/web.go | 1 + 1 file changed, 1 insertion(+) diff --git a/web/web.go b/web/web.go index f8c065f..f857d4b 100644 --- a/web/web.go +++ b/web/web.go @@ -33,4 +33,5 @@ func main() { debounced, _ := debounce.New(time.Second) jQuery("#tmpl").On(jquery.KEYUP, func() { debounced(handleChange) }) jQuery("#input").On(jquery.KEYUP, func() { debounced(handleChange) }) + handleChange() }