Permalink
Browse files

@return description with no type is no longer omitted from the genera…

…ted docs.
  • Loading branch information...
1 parent 807ccca commit 005f9992449cd5676e4c9f36eb57532a89e3f4bf Adam Moore committed Sep 24, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 template/main.tmpl
View
@@ -279,11 +279,13 @@
</dl>
#end if
- #if $method.return.type
+ #if $method.return.description
<dl>
<dt>Returns:
<code property="yui:return">
- $method.return.type
+ #if $method.return.type
+ $method.return.type
+ #end if
</code></dt>
<dd property="yui:returnInfo">$method.return.description</dd>
</dl>

0 comments on commit 005f999

Please sign in to comment.