/usr/share/doc/libjs-flotr/examples/examples.js is in libjs-flotr 0.2.1~r301-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 | // Gets the value from a group of radio buttons
function getV(nl) {
var v = null;
$A(nl).each(function(e) {
if (e.checked) {
v = e.value;
return;
}
});
return v;
}
document.observe('dom:loaded', function(){
var view = $('code-view');
if (view) {
var code = $$('body script')[0].innerHTML.gsub('\n\t\t\t', '\n');
if (view.outerHTML)
view.outerHTML = '<pre id="code-view"><code class="javascript">' + code + '</code></pre>';
else
view.innerHTML = code;
}
$$('#wrapper h1')[0].innerHTML = $$('head title')[0].innerHTML;
});
|