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

Warnings on short versions of event binding #313

Closed
fabianfrz opened this issue Nov 19, 2018 · 2 comments
Closed

Warnings on short versions of event binding #313

fabianfrz opened this issue Nov 19, 2018 · 2 comments

Comments

@fabianfrz
Copy link

Currently the methods like click dblclick etc. throw a warning so I started to migrate them to the on syntax.
However the official jQuery doc does not mention a deprecation.
You can find our developer discussion in this pull request:

opnsense/core#2929

Please clarify which one is wrong. For example:

I have seen this one: jquery/api.jquery.com#972 and from this list I guess it should be already deprecated (planned for 3.3)

@dmethvin
Copy link
Member

dmethvin commented May 5, 2019

I agree, the shorthand methods should be marked deprecated in the API docs. There's a ticket there that just needs a PR to match. Are you interested? jquery/api.jquery.com#972

@dmethvin
Copy link
Member

dmethvin commented May 9, 2019

Closing this ticket since only the docs need to be updated.

@dmethvin dmethvin closed this as completed May 9, 2019
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

2 participants