jsdoc template: hide constructors without a description.

This commit is contained in:
Jonathan Puckey 2011-05-30 12:31:15 +02:00
parent a3ea5e0de5
commit 6d13b1eb5d

View file

@ -50,7 +50,7 @@
{+processInlineTags(data.classDesc)+}
</div>
<!-- ============================== constructors ========================= -->
<if test="!/(Event|Style)/.test(data.alias) && !data.isNamespace && !data.ignore">
<if test="!/(Event|Style)/.test(data.alias) && !data.isNamespace && !data.ignore && data.desc.length">
<div class="reference-members"><h2>Constructors</h2>
{+ publish.templates.constructor.process(data) +}
<for each="constructor" in="constructors">