summaryrefslogtreecommitdiff
path: root/jslib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-01-01 11:04:09 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-01-01 11:04:09 -0500
commit6c16d6f8418dbf32b4c17067d7f9617bbdc2ad8f (patch)
treea5d174cb097382c951b69390af2fe978a3c35b68 /jslib
parent914c437ab2251be982c4c19f659589360bf41a59 (diff)
Reactive record pattern
Diffstat (limited to 'jslib')
-rw-r--r--jslib/urweb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jslib/urweb.js b/jslib/urweb.js
index fec37d1b..904e27e8 100644
--- a/jslib/urweb.js
+++ b/jslib/urweb.js
@@ -2,7 +2,7 @@ function cons(v, ls) {
return { n : ls, v : v };
}
function callAll(ls) {
- for (; ls; ls = ls.next)
+ for (; ls; ls = ls.n)
ls.v();
}