mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
change 'virtual' to 'abstract' in default template output (#432)
This commit is contained in:
parent
47fe83de3d
commit
a2f947bd34
@ -81,7 +81,9 @@ function addSignatureTypes(f) {
|
||||
function addAttribs(f) {
|
||||
var attribs = helper.getAttribs(f);
|
||||
|
||||
f.attribs = '<span class="type-signature">'+htmlsafe(attribs.length? '<'+attribs.join(', ')+'> ' : '')+'</span>';
|
||||
f.attribs = '<span class="type-signature">' + htmlsafe(attribs.length ?
|
||||
// we want the template output to say 'abstract', not 'virtual'
|
||||
'<' + attribs.join(', ').replace('virtual', 'abstract') + '> ' : '') + '</span>';
|
||||
}
|
||||
|
||||
function shortenPaths(files, commonPrefix) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user