diff --git a/source/Ox.UI/js/Code/DocPage.js b/source/Ox.UI/js/Code/DocPage.js index 2b5aab93..597fcd00 100644 --- a/source/Ox.UI/js/Code/DocPage.js +++ b/source/Ox.UI/js/Code/DocPage.js @@ -174,9 +174,7 @@ Ox.DocPage = function(options, self) { Ox.contains(section, 'inherited') ? section[0].toUpperCase() + section.slice(1) : Ox.toTitleCase( - section == 'returns' ? 'usage' - : section == 'tests' ? 'examples' - : section + section == 'returns' ? 'usage' : section ) ) + '') ); @@ -189,7 +187,7 @@ Ox.DocPage = function(options, self) { '> ' + Ox.encodeHTMLEntities(test.statement) .replace(/ /g, ' ') - .replace(/\n/g, '
\n  ') + .replace(/\n/g, '
\n  ') + '
' ) );