view tests/setInner.js @ 2302:ace43b90b388

Tiny concurrency bugfix (race condition on cache->timeNow).
author Ziv Scully <ziv@mit.edu>
date Fri, 20 Nov 2015 10:51:43 -0500
parents 06791667937e
children
line wrap: on
line source
function setIt(id, html) {
    setInnerHTML(document.getElementById(id), html);
}