update api docs parser
This commit is contained in:
parent
8cf134f988
commit
2a93ad0908
1 changed files with 2 additions and 2 deletions
|
@ -166,8 +166,8 @@ pandora.ui.apiDialog = function() {
|
||||||
if (parts.length == 2) {
|
if (parts.length == 2) {
|
||||||
parts[1] = parts[1].replace(/\n\s+?/, '').split(comma).map(
|
parts[1] = parts[1].replace(/\n\s+?/, '').split(comma).map(
|
||||||
function(action) {
|
function(action) {
|
||||||
return '<a href="/api/' + Ox.stripTags(action) + '">'
|
return '<span class="OxMethod"><a href="/api/'
|
||||||
+ action + '</a>';
|
+ Ox.stripTags(action) + '">' + action + '</a></span>';
|
||||||
}
|
}
|
||||||
).join(comma);
|
).join(comma);
|
||||||
$doc.html(parts.join('<b>see</b>' + colon));
|
$doc.html(parts.join('<b>see</b>' + colon));
|
||||||
|
|
Loading…
Reference in a new issue