mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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>
|
<tt>{+ parameter.name +}: </tt>
|
||||||
{+ new Link().toSymbol(parameter.type) +}
|
{+ new Link().toSymbol(parameter.type) +}
|
||||||
<if test="parameter.desc">— {+processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
|
<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>
|
</li>
|
||||||
</for>
|
</for>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue