Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only show parameters table if there are parameters

  • Loading branch information...
commit f980df0e5998a2b9bb7d6ebfca90ed85395babca 1 parent 73551d0
@switzer switzer authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  views/api.jade
View
3  views/api.jade
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.