User:Manishearth/scriptlinks.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 10:
importScript('boom.js')
function scriptLinks(className){
pre = getElementsByClassName(document, "pre*", "source-javascript");
for(i = 0; i < pre.length; i++) {
par = getElementsByClassName(pre[i], "span", className);
Line 33:
//Taken from [[User:AoV2/importScript_links]]
function importScript_links(){
pre = getElementsByClassName(document, "pre*", "source-javascript");
for(i = 0; i < pre.length; i++) {
par = getElementsByClassName(pre[i], "span", "br0");