Skip to content

changed logic for hasClass function#5

Open
callmehiphop wants to merge 1 commit intotaptapship:masterfrom
callmehiphop:master
Open

changed logic for hasClass function#5
callmehiphop wants to merge 1 commit intotaptapship:masterfrom
callmehiphop:master

Conversation

@callmehiphop
Copy link
Member

It obviously wouldn't happen here, but using indexOf can sometimes lead to weird results.. like if you were checking for a class of 'hi' inside of 'hi-diddly-ho'.

D:

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 this pull request may close these issues.

1 participant