mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
jsdoc: when no default value is given, just put optional.
This commit is contained in:
parent
cd76c8c0e1
commit
70a3300927
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
<tt>{+ parameter.name +}: </tt>
|
||||
{+ new Link().toSymbol(parameter.type) +}
|
||||
<if test="parameter.desc">— {+processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
|
||||
<if test="parameter.defaultValue">— optional, default: <tt>{+parameter.defaultValue+}</tt></if>
|
||||
<if test="parameter.isOptional">— optional</if><if test="parameter.defaultValue">, default: <tt>{+parameter.defaultValue+}</tt></if>
|
||||
</li>
|
||||
</for>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue