mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
JSDocs: Remove unused JS code.
This commit is contained in:
parent
57b7da13ab
commit
d28c354a6d
1 changed files with 0 additions and 16 deletions
|
@ -218,19 +218,3 @@ function scrollToElement(id) {
|
||||||
document.location.hash = id;
|
document.location.hash = id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function togglePackage(id, def) {
|
|
||||||
var e = $('#package-' + id);
|
|
||||||
if (e) {
|
|
||||||
var v = !e.hasClass('hidden');
|
|
||||||
e.modifyClass('hidden', v);
|
|
||||||
var img = document.images['arrow-' + id];
|
|
||||||
if (img) img.src = img.src.replace(/open|close/, v ? 'close' : 'open');
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
function toggleThumbnail(id, over) {
|
|
||||||
$('#' + id).modifyClass('hidden', over);
|
|
||||||
$('#' + id + '_over').modifyClass('hidden', !over);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue