update api docs parser

This commit is contained in:
rolux 2014-12-18 15:29:41 +00:00
parent 8cf134f988
commit 2a93ad0908

View file

@ -166,8 +166,8 @@ pandora.ui.apiDialog = function() {
if (parts.length == 2) {
parts[1] = parts[1].replace(/\n\s+?/, '').split(comma).map(
function(action) {
return '<a href="/api/' + Ox.stripTags(action) + '">'
+ action + '</a>';
return '<span class="OxMethod"><a href="/api/'
+ Ox.stripTags(action) + '">' + action + '</a></span>';
}
).join(comma);
$doc.html(parts.join('<b>see</b>' + colon));