$(function () { if (issues == null) { $(".issues").remove(); var downloading = sizes[0]; if (downloading == "0.0 B") $(".downloading").remove(); else $("#downloading").html($.xml(downloading)); var resuming = sizes[1]; if (resuming == "0.0 B") $(".resuming").remove(); else $("#resuming").html($.xml(resuming)); var size = sizes[2]; var negative; if (size.charAt(0) != '-') negative = false; else { negative = true; size = size.substr(1); } $("#disk-key").html(negative ? "Disk Freeing" : "Disk Using"); $("#disk-value").html($.xml(size)); } else for (var i = 0; i != issues.length; ++i) { document.title = "Cannot Comply"; $("._issues").remove(); var issue = issues[i]; $("#issues").append( "" + "
" ); for (var j = 1; j != issue.length; ++j) { var entry = issue[j]; var type = entry[0]; if (type == "PreDepends") type = "Depends"; $("#i" + i).append("