Skip to content

util: refactor createZip#190

Closed
ctalkington wants to merge 1 commit intojquery:masterfrom
ctalkington:zipTo
Closed

util: refactor createZip#190
ctalkington wants to merge 1 commit intojquery:masterfrom
ctalkington:zipTo

Conversation

@ctalkington
Copy link
Contributor

to not need async wrapper and prevent potential loss of data with fs streams.

@ctalkington
Copy link
Contributor Author

@rxaviers mind giving this a test?

lib/util.js Outdated
Copy link
Member

Choose a reason for hiding this comment

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

I guess this is the only use of async in this file. We should also remove the var async... in the beginning of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yah, i had noticed that. i can adjust before merge.

@rxaviers
Copy link
Member

Thank you for your contribution. Tests passed just fine. Before landing it, I need you to electronically sign http://contribute.jquery.org/CLA/, then I need you to review some comments I left.

@ctalkington
Copy link
Contributor Author

CLA should already be signed.

@rxaviers
Copy link
Member

CLA should already be signed.

Great!

@ctalkington
Copy link
Contributor Author

let me know if that is better.

@rxaviers
Copy link
Member

It's excellent. I will just wait on @scottgonzalez review. Then, I will ask you to squash commits into your first one, and update its title to: "Util: Refactor..." (notice both uppercase).

@rxaviers
Copy link
Member

It's worth saying I liked you are keeping commits separate during review though.

lib/util.js Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Use full words for variable names.

@scottgonzalez
Copy link
Member

Just some minor style issues, but other than that looks good.

@ctalkington
Copy link
Contributor Author

ok, ive squashed and believe have made all requested changes. let me know if anything else needs adjusted. this will effect my other PR which i'll fix up over weekend.

@rxaviers
Copy link
Member

Thank you

lib/util.js Outdated
Copy link
Member

Choose a reason for hiding this comment

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

One last comment. Could we rename s/event/finishEvent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@rxaviers
Copy link
Member

Closed by 9c7e277

@rxaviers rxaviers closed this Jan 24, 2014
@ctalkington ctalkington deleted the zipTo branch January 24, 2014 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants