diff jslib/urweb.js @ 572:57018f21cd5c

Handling singnal bind
author Adam Chlipala <adamc@hcoop.net>
date Sun, 21 Dec 2008 12:30:57 -0500
parents 86d324061ddc
children ac947e2f29ff
line wrap: on
line diff
--- a/jslib/urweb.js	Sun Dec 21 12:01:00 2008 -0500
+++ b/jslib/urweb.js	Sun Dec 21 12:30:57 2008 -0500
@@ -1,4 +1,5 @@
-function sreturn(v) { return {v : v} }
+function sr(v) { return {v : v} }
+function sb(x,y) { return {v : y(x.v).v} }
 
 function dyn(s) {
   var x = document.createElement("span");