comparison lib/js/urweb.js @ 1652:1c8456f0cf8c

Undo change to dyn() in runtime system
author Adam Chlipala <adam@chlipala.net>
date Sat, 31 Dec 2011 15:24:44 -0500
parents 1bfd793e7eb8
children d05299e561c8
comparison
equal deleted inserted replaced
1651:dfc854e478bb 1652:1c8456f0cf8c
810 } 810 }
811 } 811 }
812 } else { 812 } else {
813 firstChild = document.createElement("span"); 813 firstChild = document.createElement("span");
814 firstChild.innerHTML = html; 814 firstChild.innerHTML = html;
815 runScripts(firstChild);
815 if (x.parentNode) 816 if (x.parentNode)
816 x.parentNode.insertBefore(firstChild, x); 817 x.parentNode.insertBefore(firstChild, x);
817 runScripts(firstChild);
818 } 818 }
819 }; 819 };
820 820
821 addNode(x); 821 addNode(x);
822 populate(x); 822 populate(x);