update api dialog
This commit is contained in:
parent
cd17479385
commit
83f4ec9570
1 changed files with 2 additions and 3 deletions
|
@ -178,11 +178,10 @@ pandora.ui.apiDialog = function() {
|
||||||
})
|
})
|
||||||
.appendTo($text);
|
.appendTo($text);
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.html('<br><b><tt>' + source.split(':')[0] + '</tt></b>')
|
.html('<br><b><tt>' + source + '</tt></b>')
|
||||||
.appendTo($text);
|
.appendTo($text);
|
||||||
$code = Ox.SyntaxHighlighter({
|
$code = Ox.SyntaxHighlighter({
|
||||||
showLineNumbers: true,
|
source: code.replace(/\s*?'''[\s\S]+?'''/g, ''),
|
||||||
source: code.replace(/\s*?'''[\s\S]+?'''\n/g, ''),
|
|
||||||
offset: line
|
offset: line
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
|
|
Loading…
Reference in a new issue