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);
|
||||
$('<div>')
|
||||
.html('<br><b><tt>' + source.split(':')[0] + '</tt></b>')
|
||||
.html('<br><b><tt>' + source + '</tt></b>')
|
||||
.appendTo($text);
|
||||
$code = Ox.SyntaxHighlighter({
|
||||
showLineNumbers: true,
|
||||
source: code.replace(/\s*?'''[\s\S]+?'''\n/g, ''),
|
||||
source: code.replace(/\s*?'''[\s\S]+?'''/g, ''),
|
||||
offset: line
|
||||
})
|
||||
.css({
|
||||
|
|
Loading…
Reference in a new issue