Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can get the current emitting object via e.currentTarget. Modifying 'this', while cute, just makes yet another thing that must be explained to people when you start talking about 'this'.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: