change 'virtual' to 'abstract' in default template output (#432)

This commit is contained in:
Jeff Williams 2013-08-04 23:34:21 -07:00
parent 47fe83de3d
commit a2f947bd34

View File

@ -81,7 +81,9 @@ function addSignatureTypes(f) {
function addAttribs(f) { function addAttribs(f) {
var attribs = helper.getAttribs(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) { function shortenPaths(files, commonPrefix) {