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

Remove unnecessary !! #864

Merged
merged 1 commit into from
Mar 18, 2013
Merged

Remove unnecessary !! #864

merged 1 commit into from
Mar 18, 2013

Conversation

zackbloom
Copy link
Contributor

Boolean operators don't need to be booleanified.

Boolean operators don't need to be booleanified.
SlexAxton added a commit that referenced this pull request Mar 18, 2013
@SlexAxton SlexAxton merged commit 6818f10 into Modernizr:master Mar 18, 2013
@zackbloom zackbloom deleted the patch-1 branch March 18, 2013 15:26
@@ -1,4 +1,4 @@
define(['Modernizr', 'createElement'], function( Modernizr, createElement ) {
// testing for placeholder attribute in inputs and textareas
Modernizr.addTest('placeholder', !!('placeholder' in createElement('input') && 'placeholder' in createElement('textarea')));
Modernizr.addTest('placeholder', ('placeholder' in createElement('input') && 'placeholder' in createElement('textarea')));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'placeholder' in … doesn’t need to be parenthesized, either :P

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that is more of an opinionated change though.

patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 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 this pull request may close these issues.

None yet

3 participants