mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
jsdoc template: hide constructors without a description.
This commit is contained in:
parent
a3ea5e0de5
commit
6d13b1eb5d
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue