-
Notifications
You must be signed in to change notification settings - Fork 20.6k
Release: copy sizzle to external folder in dist, remove files during dist copy #3116
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
Conversation
By analyzing the blame information on this pull request, we identified @markelog, @scottgonzalez and @bperel to be potential reviewers |
i = rmIgnore.length; | ||
|
||
while ( --i ) { | ||
rmIgnore[ i ] = Release.dir.dist + "/" + rmIgnore[ i ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not
rmIgnore = rmIgnore.map( function( dirname ) {
return Release.dir.dist + "/" + dirname;
} );
? The i
variable would be unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do all the nodes we support have map?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, 0.10 has it. I thought it didn't for some reason. I'll make the switch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep in mind that this code will be used by the maintainers only :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, Node.js has been ES5-compatible for a long time now. :)
From what I see part of it has already partially landed on |
Hmm. That's odd. I don't remember pushing that. |
@mgol My mistake. I must have had the commit on that branch locally for a minute. It's been reverted until this PR is merged. |
Summary
Fixes a couple release issues. Tested with jquery-release.
Fixes gh-3094
Fixes gh-2945
Checklist
[ ] New tests have been added to show the fix or feature works[ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com