Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepend "on" before event handlers? #13

Open
mgsloan opened this issue Oct 13, 2015 · 0 comments
Open

Prepend "on" before event handlers? #13

mgsloan opened this issue Oct 13, 2015 · 0 comments

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Oct 13, 2015

Consider blur - it's overloaded to either be a mutation or register an event handler. It is weird to me that the event handler thing is getting this name rather than the action, particularly as blur. To me, code with this reads really strangely without the on.

So, I'd say all jquery event registration things should start with on. I'm not changing this, for now. Maybe once improved-base stabilizes, stuff like this can get fixed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant