Skip to content

jQuery(“#”) returns empty set in Migrate rather than throws #85

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

Closed
dmethvin opened this issue Feb 9, 2015 · 0 comments
Closed

jQuery(“#”) returns empty set in Migrate rather than throws #85

dmethvin opened this issue Feb 9, 2015 · 0 comments
Assignees
Milestone

Comments

@dmethvin
Copy link
Member

dmethvin commented Feb 9, 2015

As of jQuery 3.0, jQuery("#") throws an error since it's an invalid selector, rather than the previous behavior of silently returning an empty set. Need a warning about this and to have it return the aforementioned empty set.

@dmethvin dmethvin self-assigned this Feb 9, 2015
dmethvin added a commit that referenced this issue Mar 12, 2015
@dmethvin dmethvin added this to the 1.3.0 milestone Nov 21, 2015
@dmethvin dmethvin changed the title jQuery(“#”) now throws jQuery(“#”) returns empty set in Migrate rather than throws Nov 21, 2015
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

Successfully merging a pull request may close this issue.

1 participant