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

Custom event names can't contain spaces #367

Closed
timmywil opened this issue Sep 12, 2013 · 2 comments
Closed

Custom event names can't contain spaces #367

timmywil opened this issue Sep 12, 2013 · 2 comments

Comments

@timmywil
Copy link
Member

Ported from http://bugs.jquery.com/ticket/14357

Just need to add a note to the necessary pages (on, off, trigger mainly I think).

"Since space is used as a delimiter for multiple event names, spaces cannot be used."

@dmethvin
Copy link
Member

Even better, lets say what they can contain to avoid further complaints of this sort. So, [a-zA-Z0-9_:-] perhaps. Due to the way the old live() code worked some chars like ~ haven't worked consistently across versions anyway.

I could have sworn we documented this before, or at least had an issue for it.

@timmywil
Copy link
Member Author

Yup, you did this: 6bd59cb

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