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

Add gulp task to generate refs. #8109

Merged
merged 1 commit into from
Feb 25, 2017
Merged

Conversation

brendandahl
Copy link
Contributor

Far too many times I've had to go look at the command in https://github.com/mozilla/pdf.js/wiki/Contributing

gulpfile.js Outdated
gulp.task('botmakeref', function (done) {
console.log();
console.log('### Creating reference images');
gulp.task('makeref', makeRef);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can you for symmetry wrap this call into the function. (and I don't know how gulp detects if the done param presents.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Heh, this is actually how I had it before. As for gulp, I assume it uses Function.length to see how many arguments it takes.

Copy link
Contributor

@yurydelendik yurydelendik left a comment

Choose a reason for hiding this comment

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

Looks good with the function closure.

@brendandahl brendandahl merged commit 54e86f4 into mozilla:master Feb 25, 2017
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants