summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings.sml5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/settings.sml b/src/settings.sml
index 30e925c9..f9af8879 100644
--- a/src/settings.sml
+++ b/src/settings.sml
@@ -238,7 +238,10 @@ val jsFuncsBase = basisM [("alert", "alert"),
("eq_time", "eq"),
("lt_time", "lt"),
- ("le_time", "le")]
+ ("le_time", "le"),
+
+ ("debug", "alert"),
+ ("naughtyDebug", "alert")]
val jsFuncs = ref jsFuncsBase
fun setJsFuncs ls = jsFuncs := foldl (fn ((k, v), m) => M.insert (m, k, v)) jsFuncsBase ls
fun jsFunc x = M.find (!jsFuncs, x)