It’s not specifically worth replacing click()
, as in the jQuery source it converts all the ‘shortcut’ event handlers (like click()
, keyup()
etc.) to on("event", fn)
anyway.
It’s not specifically worth replacing click()
, as in the jQuery source it converts all the ‘shortcut’ event handlers (like click()
, keyup()
etc.) to on("event", fn)
anyway.