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

Do not generate JSDoc when there's no js file #43

Merged
merged 2 commits into from May 5, 2015
Merged

Conversation

tadatuta
Copy link
Member

@tadatuta tadatuta commented May 3, 2015

Now when sources is an empty array enb-bem-docs will call join('\n') and pass this string to bem-jsd which will generate following object {"jsdocType":"root"}. As a result there's an extra tab on bem.info: https://bem.info/libs/bem-components/v2.1.1/desktop/icon/jsdoc/

This patch fixes the issue.

Now when `sources` is an empty array `enb-bem-docs` will call `join('\n')` and pass this string to `bem-jsd` which will generate following object `{"jsdocType":"root"}`. As a r

This path fixes the issue.
blond added a commit that referenced this pull request May 5, 2015
Do not generate JSDoc when there's no js file
@blond blond merged commit 1bd528e into master May 5, 2015
@blond blond deleted the BEMINFO-1182 branch May 5, 2015 14:51
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

2 participants