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

Missing 'typeof' operator #106

Open
krmgns opened this issue Aug 30, 2017 · 0 comments
Open

Missing 'typeof' operator #106

krmgns opened this issue Aug 30, 2017 · 0 comments

Comments

@krmgns
Copy link

krmgns commented Aug 30, 2017

I think there should be typeof operator here selector == 'string'.

if (doc.getElementsByClassName && selector == 'string' && (m = selector.match(classOnly))) {
...

// to
if (doc.getElementsByClassName && typeof selector == 'string' && (m = selector.match(classOnly))) {

Source: https://github.com/ded/qwery/blob/master/qwery.js#L81

SepehrAsh added a commit to SepehrAsh/qwery that referenced this issue Dec 17, 2020
… Deleted & One Operator

Was Missing That Is Handled In This Commit
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