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