/usr/share/pyshared/pydoctor/templates/pydoctor.js is in python-pydoctor 0.5b1+bzr603-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | function showBig ()
{
document.getElementById("splitTables").style.display = "none";
document.getElementById("bigTable").style.display = "block";
document.getElementById("showSplitLink").style.display = "inline";
document.getElementById("showBigLink").style.display = "none";
}
function showSplit ()
{
document.getElementById("splitTables").style.display = "block";
document.getElementById("bigTable").style.display = "none";
document.getElementById("showSplitLink").style.display = "none";
document.getElementById("showBigLink").style.display = "inline";
}
function hideId (id)
{
var part;
part = document.getElementById(id);
if (part) part.style.display = 'none'
}
function showId (id)
{
var part;
part = document.getElementById(id);
if (part) part.style.display = 'inline'
}
function hideAndShow(id)
{
hideId(id + 'Link'); showId(id);
}
function showAndHide(id)
{
showId(id + 'Link'); hideId(id);
}
window.onload = function ()
{
var spans,i;
spans=document.getElementsByTagName('span');
for(i = 0; i<spans.length;i++) {
if (/hideIfJS/.test(spans[i].className)) {
spans[i].style.display='none';
}
if (/showIfJS/.test(spans[i].className)) {
spans[i].style.display='inline';
}
}
showId('showBigLink');
}
|