Mercurial > urweb
diff src/jscomp.sml @ 641:b98f547a6a45
RPC returning an option
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 08 Mar 2009 13:41:55 -0400 |
parents | 3ee6bb48f6e8 |
children | fb2a0e76dcef |
line wrap: on
line diff
--- a/src/jscomp.sml Sun Mar 08 13:28:21 2009 -0400 +++ b/src/jscomp.sml Sun Mar 08 13:41:55 2009 -0400 @@ -338,7 +338,7 @@ @ ["}"]), st) end - | TFfi ("Basis", "string") => ("decode(t[i++])", st) + | TFfi ("Basis", "string") => ("unescape(t[i++])", st) | TFfi ("Basis", "int") => ("parseInt(t[i++])", st) | TFfi ("Basis", "float") => ("parseFloat(t[i++])", st)