forked from 0x2620/pandora
update api docs parser
This commit is contained in:
parent
bc47a8759e
commit
ae9e195d7d
1 changed files with 2 additions and 2 deletions
|
@ -238,12 +238,12 @@ pandora.ui.apiDialog = function() {
|
||||||
$code;
|
$code;
|
||||||
$('<h1>')
|
$('<h1>')
|
||||||
.css({paddingLeft: '4px'})
|
.css({paddingLeft: '4px'})
|
||||||
.html('<b><tt>' + id + '</tt></b>')
|
.html('<tt><b>' + id + '</b></tt>')
|
||||||
.appendTo($text);
|
.appendTo($text);
|
||||||
getDoc(actions[id].doc).appendTo($text),
|
getDoc(actions[id].doc).appendTo($text),
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({paddingLeft: '4px'})
|
.css({paddingLeft: '4px'})
|
||||||
.html('<br><b><tt>source: ' + source + '</tt></b>')
|
.html('<br><tt><b>source</b>: ' + source + '</tt>')
|
||||||
.appendTo($text);
|
.appendTo($text);
|
||||||
$code = Ox.SyntaxHighlighter({
|
$code = Ox.SyntaxHighlighter({
|
||||||
source: code.replace(/\s*?'''[\s\S]+?'''/g, ''),
|
source: code.replace(/\s*?'''[\s\S]+?'''/g, ''),
|
||||||
|
|
Loading…
Reference in a new issue