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

adds "noPrefixes" option, to opt-out vendor prefix check, fixes #1082 #1193

Merged
merged 1 commit into from
Jan 30, 2014

Conversation

ddprrt
Copy link
Contributor

@ddprrt ddprrt commented Jan 16, 2014

Based upon #1082. By adding noPrefixes to the config options, a flag is set to empty the vendor prefixes array used by testAllProps.

Checkout #1082 (comment) for details.

@patrickkettner
Copy link
Member

quick nit - could you add "fixes #1082" to the description, so it closes it out if/when this is merged

@ddprrt
Copy link
Contributor Author

ddprrt commented Jan 16, 2014

did it ;-)

@patrickkettner
Copy link
Member

where? you reference the commit, but you don't use the string 'fixes #1082' in the PR or any commit message.

also, could you squish everything down to a single commit for review?

thanks dude!

@ddprrt
Copy link
Contributor Author

ddprrt commented Jan 16, 2014

"fixes #1082" should be in the PR title ... I'll look into squishing, never did a rebase before!

@patrickkettner
Copy link
Member

ah, it is. sorry about that.

rebasing keeps the git history nice and clean, thanks for all the effort you've put in!

@ddprrt
Copy link
Contributor Author

ddprrt commented Jan 17, 2014

boom, squished!
Thanks for letting me in and giving good advice... pretty exciting to contribute :-)

patrickkettner added a commit that referenced this pull request Jan 30, 2014
adds "noPrefixes" option, to opt-out vendor prefix check, fixes #1082
@patrickkettner patrickkettner merged commit fc6a8fc into Modernizr:master Jan 30, 2014
@patrickkettner
Copy link
Member

Bravo, sir. Very exciting to see you land this.

Cheers!

@patrickkettner
Copy link
Member

Looking forward to a blog update on the subject :]

@@ -1,6 +1,6 @@
define(['ModernizrProto'], function( ModernizrProto ) {
// List of property values to set for css tests. See ticket #21
var prefixes = ' -webkit- -moz- -o- -ms- '.split(' ');
var prefixes = (ModernizrProto._config.usePrefixes ? ' -webkit- -moz- -o- -ms- '.split(' ') : []);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this splitting with a function instead of using an array literal?

Copy link
Member

Choose a reason for hiding this comment

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

patrickkettner added a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
adds "noPrefixes" option, to opt-out vendor prefix check, fixes Modernizr#1082
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.

3 participants