forked from 0x2620/pandora
update api docs parser
This commit is contained in:
parent
82e611dae3
commit
f5520ede2a
1 changed files with 18 additions and 17 deletions
|
@ -235,12 +235,13 @@ pandora.ui.apiDialog = function() {
|
||||||
var code = actions[id].code[1],
|
var code = actions[id].code[1],
|
||||||
source = actions[id].code[0],
|
source = actions[id].code[0],
|
||||||
line = Math.round(Ox.last(source.split(':')) || 0),
|
line = Math.round(Ox.last(source.split(':')) || 0),
|
||||||
$title = $('<h1>')
|
$code;
|
||||||
|
$('<h1>')
|
||||||
.css({paddingLeft: '4px'})
|
.css({paddingLeft: '4px'})
|
||||||
.html('<b><tt>' + id + '</tt></b>')
|
.html('<b><tt>' + id + '</tt></b>')
|
||||||
.appendTo($text),
|
.appendTo($text),
|
||||||
$doc = getDoc(actions[id].doc).appendTo($text),
|
getDoc(actions[id].doc).appendTo($text),
|
||||||
$source = $('<div>')
|
$('<div>')
|
||||||
.css({paddingLeft: '4px'})
|
.css({paddingLeft: '4px'})
|
||||||
.html('<br><b><tt>source: ' + source + '</tt></b>')
|
.html('<br><b><tt>source: ' + source + '</tt></b>')
|
||||||
.appendTo($text),
|
.appendTo($text),
|
||||||
|
|
Loading…
Reference in a new issue