Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"express": "3.3.1",
"jade": "0.32.0",
"node-json-minify": ">= 0.1.3-a",
"oauth": "0.9.10",
"oauth": "0.9.14",
"redis": "0.8.3",
"querystring": "0.1.0",
"supervisor": ">= 0.5.x",
Expand Down
20 changes: 11 additions & 9 deletions views/api.jade
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,15 @@ block content
span.description !{method.description}
br
br
.container.header
.row
.col-description.header Description !{method.MethodName}
.location.header Location
.col-type.header Type
.col-parameter.header Value
.col-name.header Parameter
table(id=methodKey)
- var noParams = ((Object.keys(method.parameters).length < 1) && !method.request)
.container.header(style=noParams ? "display:none" : undefined)
.row
.col-description.header Description !{method.MethodName}
.location.header Location
.col-type.header Type
.col-parameter.header Value
.col-name.header Parameter
table(id=methodKey, style=noParams ? "display:none": undefined)
- if (!method['read-only'])
input(type='submit', id=method.name, value='Try it!', class=methodKey)
input(type='submit', id=method.name, value='Try it!', class=methodKey)