Skip to content

Commit

Permalink
Merge pull request #179 from adjs/feature/fix_empty_method_table_render
Browse files Browse the repository at this point in the history
only show parameters table if there are parameters
  • Loading branch information
mansilladev committed Apr 29, 2014
2 parents 634c32c + f980df0 commit 36bee11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions views/api.jade
Expand Up @@ -96,8 +96,7 @@ block content
span.description !{method.Synopsis}
br
br
//- if (method.parameters.length > 0)
- if (method.parameters)
- if (method.parameters && method.parameters.length > 0)
table.parameters
thead
tr
Expand Down

0 comments on commit 36bee11

Please sign in to comment.