Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upspace-time/Scripts/add_authors_to_bioarxiv.js /
Go to file| authors=[ | |
| {fn:"Gytis",ln:"Dudas",em:"gdudas@fredhutch.org",af:"Institute of Evolutionary Biology, University of Edinburgh, King's Buildings, Edinburgh, EH9 3FL, UK"}, | |
| //. | |
| //. fill in authors here | |
| //. | |
| {fn:"Andrew",ln:"Rambaut",em:"a.rambaut@ed.ac.uk",af:"Institute of Evolutionary Biology, University of Edinburgh, King's Buildings, Edinburgh, EH9 3FL, UK"} | |
| ]; | |
| inputs=document.getElementsByTagName("input"); | |
| j=0; | |
| for(i=0;i<inputs.length;i++){ | |
| if (inputs[i].id=="authorEmail"+(j+1)) inputs[i].value=authors[j].em; | |
| if (inputs[i].id=="authorFname"+(j+1)) inputs[i].value=authors[j].fn; | |
| if (inputs[i].id=="authorLname"+(j+1)) inputs[i].value=authors[j].ln; | |
| if (inputs[i].id=="authorAffil"+(j+1)) { | |
| inputs[i].value=authors[j].af; | |
| j++; | |
| } | |
| } | |