update api dialog

This commit is contained in:
rolux 2014-12-18 12:09:46 +00:00
parent cd17479385
commit 83f4ec9570

View file

@ -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({