Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs: print the return value

  • Loading branch information...
commit 39b9387d6b08c99fbcce0d7aaca5973445721098 1 parent c9d47d0
@TooTallNate authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/index.jade
View
6 docs/index.jade
@@ -125,10 +125,14 @@ html(lang="en")
if (!isFunc)
|
span.rtn ⇒ #{doc.type}
- if (doc.paramTypes.length > 0)
+ if (doc.paramTypes.length > 0 || doc.returnType)
ul
each param in doc.paramTypes
li #{param.name} - !{param.description}
+ if (doc.returnType)
+ li
+ strong Return:
+ | !{doc.returnType.description}
!= (doc && doc.description.full || '').replace(/\<br ?\/?\>/g, ' ')
Please sign in to comment.
Something went wrong with that request. Please try again.