Docs: fix missing space on type signature
This commit is contained in:
@@ -76,14 +76,14 @@ function addSignatureReturns(f) {
|
|||||||
function addSignatureTypes(f) {
|
function addSignatureTypes(f) {
|
||||||
var types = helper.getSignatureTypes(f);
|
var types = helper.getSignatureTypes(f);
|
||||||
|
|
||||||
f.signature = (f.signature || '') + '<span class="type-signature">'+(types.length? ' :'+types.join('|') : '')+'</span>';
|
f.signature = (f.signature || '') + '<span class="type-signature">'+(types.length? ' :'+types.join('|') : '')+' </span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function addAttribs(f) {
|
function addAttribs(f) {
|
||||||
var attribs = helper.getAttribs(f);
|
var attribs = helper.getAttribs(f);
|
||||||
|
|
||||||
if (attribs.length) {
|
if (attribs.length) {
|
||||||
f.attribs = '<span class="type-signature ' + (attribs[0] === 'static' ? 'static' : '') + '">' + htmlsafe(attribs.length ? attribs.join(',') : '') + '</span>';
|
f.attribs = '<span class="type-signature ' + (attribs[0] === 'static' ? 'static' : '') + '">' + htmlsafe(attribs.length ? attribs.join(',') : '') + ' </span>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user