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

fix the assumption that arguments to testProp (etc.) are strings #634

Merged
merged 1 commit into from Jul 19, 2012
Merged

Conversation

dbaron
Copy link
Contributor

@dbaron dbaron commented Jul 19, 2012

I realized that my change that you merged earlier today introduced a new assumption that the arguments to testProp (etc.) are strings. It occurs to me that this is an additional (and unnecessary) incompatibility with prior versions of Modernizr, so this fixes it to use contains(), which also matches local style better.

paulirish added a commit that referenced this pull request Jul 19, 2012
fix the assumption that arguments to testProp (etc.) are strings
@paulirish paulirish merged commit f6d98dd into Modernizr:master Jul 19, 2012
@paulirish
Copy link
Member

Makes sense. thanks!

patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
fix the assumption that arguments to testProp (etc.) are strings
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.

None yet

2 participants