Mercurial > urweb
comparison jslib/urweb.js @ 584:101eb0058136
Used an option as a source
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 01 Jan 2009 10:49:42 -0500 |
parents | 66463006f893 |
children | 35471f067980 |
comparison
equal
deleted
inserted
replaced
583:1fd4c041634e | 584:101eb0058136 |
---|---|
40 document.body.appendChild(x); | 40 document.body.appendChild(x); |
41 s.h = cons(function() { x.innerHTML = s.v }, s.h); | 41 s.h = cons(function() { x.innerHTML = s.v }, s.h); |
42 } | 42 } |
43 | 43 |
44 function ts(x) { return x.toString() } | 44 function ts(x) { return x.toString() } |
45 function pf() { alert("Pattern match failure") } |