comparison lib/js/urweb.js @ 691:cc58941da3e2

Checking spans in dyns
author Adam Chlipala <adamc@hcoop.net>
date Sat, 04 Apr 2009 11:46:24 -0400
parents 01b6f2ee2ef0
children 09df0c85f306
comparison
equal deleted inserted replaced
690:01b6f2ee2ef0 691:cc58941da3e2
150 var r = parseFloat(s); 150 var r = parseFloat(s);
151 if (r.toString() == s) 151 if (r.toString() == s)
152 return r; 152 return r;
153 else 153 else
154 throw "Can't parse float: " + s; 154 throw "Can't parse float: " + s;
155 }
156
157 function cat(s1, s2) {
158 return s1 + s2;
155 } 159 }
156 160
157 function whine(msg) { 161 function whine(msg) {
158 alert(msg); 162 alert(msg);
159 throw msg; 163 throw msg;