jsdoc-class-hierarchy
Advanced tools
Comparing version 1.0.1 to 1.1.0
12
index.js
@@ -116,3 +116,3 @@ 'use strict'; | ||
if ( d.hierarchy.length > 0 && showList ) { | ||
html += '<h3>Hierarchy</h3>' + makeHierarchyList( d.hierarchy.slice() ); | ||
html += '<h3 style="margin:0;">Hierarchy</h3>' + makeHierarchyList( d.hierarchy.slice() ); | ||
} | ||
@@ -123,3 +123,3 @@ } | ||
if ( d.children.length > 0 && showList ) { | ||
html += '<h3>Children</h3>' + makeChildrenList( d.children.slice() ); | ||
html += '<h3 style="margin:0;">Children</h3>' + makeChildrenList( d.children.slice() ); | ||
} | ||
@@ -130,3 +130,9 @@ | ||
d.description = '<small>' + html + '</small>' + d.description; | ||
d.description = '<div style="' + | ||
'border: 1px solid #c8ccd1;' + | ||
'background:#eaecf0;' + | ||
'padding: 10px;' + | ||
'font-size: x-small;' + | ||
'float: right;' + | ||
'">' + html + '</div>' + d.description; | ||
} | ||
@@ -133,0 +139,0 @@ }); |
{ | ||
"name": "jsdoc-class-hierarchy", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "JSDoc plugin to add class hierarchy data", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -53,5 +53,5 @@ # jsdoc-class-hierarchy | ||
<img | ||
width="309" | ||
width="813" | ||
alt="class hierarchy screenshot" | ||
src="https://user-images.githubusercontent.com/9491/42609426-33d87ef6-85aa-11e8-8903-c30fe1810af3.png"> | ||
src="https://user-images.githubusercontent.com/9491/42612314-46f8bc5e-85b8-11e8-9712-e2f04974be48.png"> | ||
@@ -58,0 +58,0 @@ If you don't like this display you can update your theme to show this data |
7226
124