summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-07-24 14:49:40 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-07-24 14:49:40 -0400
commit2bf2fd370971509c6a00fb7000d9c2aa28852719 (patch)
tree2eba6c66df24746901bf1e33d5a800fc1576400e /src
parente7c2d52b8ed2e31e2e99b68ccbe1423ad4ffa353 (diff)
Client-side 'addSeconds'
Diffstat (limited to 'src')
-rw-r--r--src/settings.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.sml b/src/settings.sml
index c9030eac..7b19b1b1 100644
--- a/src/settings.sml
+++ b/src/settings.sml
@@ -254,6 +254,7 @@ val jsFuncsBase = basisM [("alert", "alert"),
("timeToString", "showTime"),
("htmlifyTime", "showTime"),
("toSeconds", "toSeconds"),
+ ("addSeconds", "addSeconds"),
("diffInSeconds", "diffInSeconds")]
val jsFuncs = ref jsFuncsBase
fun setJsFuncs ls = jsFuncs := foldl (fn ((k, v), m) => M.insert (m, k, v)) jsFuncsBase ls