working somewhat on thinkpad - doesn't pass tests
This commit is contained in:
@@ -23,16 +23,16 @@
|
||||
var $row = $('<tr class="' + ((rowCount % 2) ? 'djDebugOdd' : 'djDebugEven') + '"></tr>');
|
||||
if (endStat) {
|
||||
// Render a start through end bar
|
||||
$row.html('<td>' + stat.replace('Start', '') + '</td>' +
|
||||
'<td class="timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
|
||||
$row.html('<td>' + stat.replace('Start', '') + '</td>' +
|
||||
'<td class="timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
|
||||
'<td>' + (perf.timing[stat] - timingOffset) + ' (+' + (perf.timing[endStat] - perf.timing[stat]) + ')</td>');
|
||||
$row.find('strong').css({width: getCSSWidth(stat, endStat)});
|
||||
} else {
|
||||
// Render a point in time
|
||||
$row.html('<td>' + stat + '</td>' +
|
||||
'<td class="timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
|
||||
'<td>' + (perf.timing[stat] - timingOffset) + '</td>');
|
||||
$row.find('strong').css({width: 2});
|
||||
$row.html('<td>' + stat + '</td>' +
|
||||
'<td class="timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
|
||||
'<td>' + (perf.timing[stat] - timingOffset) + '</td>');
|
||||
$row.find('strong').css({width: 2});
|
||||
}
|
||||
$row.find('djDebugLineChart').css({left: getLeft(stat) + '%'});
|
||||
$('#djDebugBrowserTimingTableBody').append($row);
|
||||
|
||||
Reference in New Issue
Block a user