diff jslib/urweb.js @ 585:35471f067980

Reactive record pattern
author Adam Chlipala <adamc@hcoop.net>
date Thu, 01 Jan 2009 11:04:09 -0500
parents 101eb0058136
children 1c969230ee7f
line wrap: on
line diff
--- a/jslib/urweb.js	Thu Jan 01 10:49:42 2009 -0500
+++ b/jslib/urweb.js	Thu Jan 01 11:04:09 2009 -0500
@@ -2,7 +2,7 @@
   return { n : ls, v : v };
 }
 function callAll(ls) {
-  for (; ls; ls = ls.next)
+  for (; ls; ls = ls.n)
     ls.v();
 }