Skip to content

Prepend "on" before event handlers? #13

Open
@mgsloan

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions