Merge branch 'master' into releases

This commit is contained in:
RedocBot 2016-02-27 21:37:38 +00:00 committed by travis@localhost
commit 9cc4dd06c1
3 changed files with 13 additions and 3 deletions

View File

@ -11,9 +11,12 @@
},
"license": "MIT",
"keywords": [
"OpenAPI",
"OpenAPI Specification",
"Swagger",
"JSON-Schema",
"API",
"REST",
"documentation",
"Angular 2"
],
@ -25,6 +28,10 @@
"tests",
"lib",
"demo",
"build"
"build",
"docs",
"gulpfile.js",
"*.conf.js",
"*.config.js"
]
}

View File

@ -144,7 +144,7 @@ export default class JsonSchema extends BaseComponent {
// TODO handle internal schemes differently
let names = [].slice.call(this.$element.querySelectorAll('.param-name-content'));
let widths = [144];//names.map(el => el.offsetWidth);
let widths = names.map(el => el.offsetWidth);
let maxWidth = Math.max(...widths);
if (!maxWidth) return;
names.forEach(el => {

View File

@ -1,7 +1,7 @@
{
"name": "redoc",
"description": "Swagger-generated API Reference Documentation",
"version": "0.6.1",
"version": "0.6.2",
"repository": {
"type": "git",
"url": "git://github.com/Rebilly/ReDoc"
@ -18,9 +18,12 @@
"deploy": "build/prepare_deploy.sh && deploy-to-gh-pages demo"
},
"keywords": [
"OpenAPI",
"OpenAPI Specification",
"Swagger",
"JSON-Schema",
"API",
"REST",
"documentation",
"Angular 2"
],