summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Patrick Hurst <phurst@mit.edu>2014-02-17 19:21:46 -0500
committerGravatar Patrick Hurst <phurst@mit.edu>2014-02-17 19:21:46 -0500
commita3c561f3daaffc39245c1aabee46f8cc22f375b8 (patch)
tree03314bfe6d7f10b5f9e328b87a1cc3ff7988a057 /src
parent52ac255e004d2fc29f0484754885d12043e98422 (diff)
Add Datetime JavaScript support.
Diffstat (limited to 'src')
-rw-r--r--src/settings.sml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings.sml b/src/settings.sml
index 020ca5a4..6282577d 100644
--- a/src/settings.sml
+++ b/src/settings.sml
@@ -331,6 +331,16 @@ val jsFuncsBase = basisM [("alert", "alert"),
("toMilliseconds", "toMilliseconds"),
("diffInMilliseconds", "diffInMilliseconds"),
+ ("fromDatetime", "fromDatetime"),
+ ("datetimeYear", "datetimeYear"),
+ ("datetimeMonth", "datetimeMonth"),
+ ("datetimeDay", "datetimeDay"),
+ ("datetimeHour", "datetimeHour"),
+ ("datetimeMinute", "datetimeMinute"),
+ ("datetimeSecond", "datetimeSecond"),
+ ("datetimeDayOfWeek", "datetimeDayOfWeek"),
+
+
("onClick", "uw_onClick"),
("onDblclick", "uw_onDblclick"),
("onKeydown", "uw_onKeydown"),