update api docs parser

This commit is contained in:
rolux 2014-12-18 15:31:19 +00:00
parent 82e611dae3
commit f5520ede2a

View file

@ -235,12 +235,13 @@ pandora.ui.apiDialog = function() {
var code = actions[id].code[1],
source = actions[id].code[0],
line = Math.round(Ox.last(source.split(':')) || 0),
$title = $('<h1>')
$code;
$('<h1>')
.css({paddingLeft: '4px'})
.html('<b><tt>' + id + '</tt></b>')
.appendTo($text),
$doc = getDoc(actions[id].doc).appendTo($text),
$source = $('<div>')
getDoc(actions[id].doc).appendTo($text),
$('<div>')
.css({paddingLeft: '4px'})
.html('<br><b><tt>source: ' + source + '</tt></b>')
.appendTo($text),