User:Manishearth/GadgetUS/USlist.js

/*Classes Header DON'T TOUCH

function Script(id,location,title,description){ this.id=id this.location=location this.title=title this.description=description }

function USGroup(title){ this.title=title this.scripts=new Array } USGroup.prototype.add=function(id,location,title,description){ this.scripts[this.scripts.length]= new Script(id,location,title,description) }

//DATA var USGroups=[new USGroup("Foo"),new USGroup("Boo"),new USGroup("Moo")]

with(USGroups[0]){ add("Bar","User:Manishearth/a.js","raB","Quok") add("Hello","User:Manishearth/b.js","olleH","Boom") } with(USGroups[1]){ add("Barz","User:Manishearth/az.js","Barzul","Qzuok") add("Hzello","User:Manishearth/bz.js","Howdy","Bzoom") } with(USGroups[2]){ add("Barf","User:Manishearth/af.js","Puke","Quofk") add("fHello","User:Manishearth/bf.js","Nuke","fBoom") }