annotate tests/setInner.js @ 2254:44ae2254f8fb

Factor out urlification.
author Ziv Scully <ziv@mit.edu>
date Mon, 21 Sep 2015 16:07:35 -0400
parents 06791667937e
children
rev   line source
adam@1702 1 function setIt(id, html) {
adam@1702 2 setInnerHTML(document.getElementById(id), html);
adam@1702 3 }