diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-08-25 15:19:00 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-08-25 15:19:00 -0400 |
commit | c2390ec66aed4fe73a7641ccc2141b0aec5aa733 (patch) | |
tree | 8c020dc4fcfc5dc64141f5158ab9c9410a2e075f /src/jscomp.sml | |
parent | b17e821a36b67602778996dbf5ca7424a9f29c8e (diff) |
Fix inconsistency in bool URLification between C and JavaScript
Diffstat (limited to 'src/jscomp.sml')
-rw-r--r-- | src/jscomp.sml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml index 0ebdc94a..71046014 100644 --- a/src/jscomp.sml +++ b/src/jscomp.sml @@ -428,7 +428,7 @@ fun process file = | TFfi ("Basis", "float") => ("parseFloat(t[i++])", st) | TFfi ("Basis", "channel") => ("(t[i++].length > 0 ? parseInt(t[i]) : null)", st) - | TFfi ("Basis", "bool") => ("t[i++] == \"True\"", st) + | TFfi ("Basis", "bool") => ("t[i++] == \"1\"", st) | TOption t => let |