Skip to content

Commit

Permalink
change 'virtual' to 'abstract' in default template output (jsdoc#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegemonic committed Aug 5, 2013
1 parent 47fe83d commit a2f947b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/default/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a2f947b

Please sign in to comment.