view tests/setInner.js @ 2297:6d56080f495c

Fix a read-after-free bug using a timestamp check
author Adam Chlipala <adam@chlipala.net>
date Thu, 19 Nov 2015 13:18:58 -0500
parents 06791667937e
children
line wrap: on
line source
function setIt(id, html) {
    setInnerHTML(document.getElementById(id), html);
}