[docs] Fix 0 being rendered on functions with 0 args

This commit is contained in:
Tadeu Zagallo 2015-03-26 09:15:45 +00:00
parent 3555e4be9e
commit 17fb98ea85
1 changed files with 1 additions and 1 deletions

View File

@ -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