Mercurial > urweb
view tests/setInner.js @ 2085:fd6d362666c0
Optimizing writes of single characters
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 04 Dec 2014 19:54:04 -0500 |
parents | 06791667937e |
children |
line wrap: on
line source
function setIt(id, html) { setInnerHTML(document.getElementById(id), html); }