[docs] Fix 0 being rendered on functions with 0 args
This commit is contained in:
parent
3555e4be9e
commit
17fb98ea85
|
@ -194,7 +194,7 @@ var APIDoc = React.createClass({
|
|||
<Header level={4} className="propTitle" toSlug={method.name}>
|
||||
{method.modifiers.length && <span className="propType">
|
||||
{method.modifiers.join(' ') + ' '}
|
||||
</span>}
|
||||
</span> || ''}
|
||||
{method.name}
|
||||
<span className="propType">
|
||||
({method.params
|
||||
|
|
Loading…
Reference in New Issue