Skip to content

Commit

Permalink
Added throws descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
qbradq committed Mar 25, 2016
1 parent e4f91e4 commit 2a61886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/template.md.ejs
Expand Up @@ -66,7 +66,7 @@
<? if (comment.throwsTags.length > 0) { ?>
### Throws:
<? comment.throwsTags.forEach(function(throws) { ?>
* **<?= throws.joinedTypes ?>**
* **<?= throws.joinedTypes ?>** <?= throws.description ?>
<? }) ?>
<? } ?>

Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/events.js
Expand Up @@ -5,7 +5,7 @@
* @fires someOtherEvent
* @listens someGlobalEvent
* @listens SomeClass#event:myEvent
* @throws {Error}
* @throws {Error} Throws on error
*/
function foo() {}

Expand Down

0 comments on commit 2a61886

Please sign in to comment.