generate output on load

This commit is contained in:
Chris Sexton 2016-10-09 16:21:33 -04:00
parent 73bc416afd
commit 615e20c34a
1 changed files with 1 additions and 0 deletions

View File

@ -33,4 +33,5 @@ func main() {
debounced, _ := debounce.New(time.Second) debounced, _ := debounce.New(time.Second)
jQuery("#tmpl").On(jquery.KEYUP, func() { debounced(handleChange) }) jQuery("#tmpl").On(jquery.KEYUP, func() { debounced(handleChange) })
jQuery("#input").On(jquery.KEYUP, func() { debounced(handleChange) }) jQuery("#input").On(jquery.KEYUP, func() { debounced(handleChange) })
handleChange()
} }