update api docs parser

This commit is contained in:
rolux 2014-12-18 14:48:57 +00:00
parent 5c27244767
commit 3a1d387dce

View file

@ -144,7 +144,9 @@ pandora.ui.apiDialog = function() {
comma = '<span class="OxOperator">,</span>' comma = '<span class="OxOperator">,</span>'
+ '<span class="OxWhitespace">&nbsp;</span>'; + '<span class="OxWhitespace">&nbsp;</span>';
['Keyword', 'Method', 'Property'].forEach(function(type) { ['Keyword', 'Method', 'Property'].forEach(function(type) {
$doc.find('.Ox' + type).removeClass('Ox' + type); $doc.find('.Ox' + type)
.removeClass('Ox' + type)
.addClass('OxIdentifier');
}); });
$doc.html( $doc.html(
$doc.html().replace(/BOLD(\w+)BOLD/g, '<b>$1</b>') $doc.html().replace(/BOLD(\w+)BOLD/g, '<b>$1</b>')