display class

This commit is contained in:
rolux 2012-05-30 22:40:34 +02:00
parent f39a69ccef
commit d6b86b518b

View file

@ -87,6 +87,7 @@ Ox.DocPage = function(options, self) {
.html(
'<code><b>' + (name || item.name) + '</b> '
+ '&lt;' + item.types.join('&gt;</code> or <code>&lt;') + '&gt; </code>'
+ (item['class'] ? '(class: <code>' + item['class'] + '</code>) ' : '')
+ (item['default'] ? '(default: <code>' + item['default'] + '</code>) ' : '')
+ Ox.sanitizeHTML(item.summary)
)