Hacker News new | ask | show | jobs
by marcosdumay 615 days ago
It should be addEventHandler if you want to have more than one handler, yes.

Otherwise, it's fine.