view 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
line wrap: on
line source
function setIt(id, html) {
    setInnerHTML(document.getElementById(id), html);
}