Skip to content

Commit

Permalink
omit signature from event name headings (jsdoc#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegemonic committed Dec 2, 2012
1 parent 2de416d commit 2c597b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/tmpl/method.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var data = obj;
var self = this;
?>
<dt>
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + (kind == 'class'? 'new ':'') + name + data.signature ?></h4>
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + (kind === 'class' ? 'new ' : '') + name + (kind !== 'event' ? data.signature : '') ?></h4>

<?js if (data.summary) { ?>
<p class="summary"><?js= summary ?></p>
Expand Down

0 comments on commit 2c597b6

Please sign in to comment.