generate output on load
This commit is contained in:
parent
73bc416afd
commit
615e20c34a
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue