summaryrefslogtreecommitdiff
path: root/src/settings.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.sml')
-rw-r--r--src/settings.sml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/settings.sml b/src/settings.sml
index 26aaad95..57ab956a 100644
--- a/src/settings.sml
+++ b/src/settings.sml
@@ -248,7 +248,11 @@ val jsFuncsBase = basisM [("alert", "alert"),
("le_time", "le"),
("debug", "alert"),
- ("naughtyDebug", "alert")]
+ ("naughtyDebug", "alert"),
+
+ ("now", "now"),
+ ("timeToString", "showTime"),
+ ("htmlifyTime", "showTime")]
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)