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

fix undefined "argv" when using in programatic context #75

Merged
merged 1 commit into from Nov 25, 2014

Conversation

boneskull
Copy link
Contributor

Programmatic usage of jsdox is pretty broken; try to run it via Gulp as in the documentation example.

Anyway, this will put a band-aid on the problem, so grunt-jsdox will at least function.

generateForDir() is too tightly coupled to the CLI and should be refactored.

@mrjoelkemp
Copy link
Contributor

Thanks for this @boneskull. I think the fix should be to default argv on this line: https://github.com/sutoiku/jsdox/pull/75/files#diff-54fc5c65530eebb4dedbf48341c8905eL320.

mrjoelkemp added a commit that referenced this pull request Nov 25, 2014
fix undefined "argv" when using in programatic context
@mrjoelkemp mrjoelkemp merged commit a552511 into sutoiku:master Nov 25, 2014
@mrjoelkemp
Copy link
Contributor

@psq Mind cutting a patch release? You can just do npm version patch and then publish it. Once that's done, I'll pull that new version into grunt-jsdox.

@psq
Copy link
Contributor

psq commented Nov 25, 2014

@mrjoelkemp sure, will do shortly.

@psq
Copy link
Contributor

psq commented Nov 25, 2014

0.4.4 published, should be available shortly.

@mrjoelkemp
Copy link
Contributor

@psq Thanks!

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