diff options
author | Patrick Hurst <phurst@mit.edu> | 2014-02-17 19:21:46 -0500 |
---|---|---|
committer | Patrick Hurst <phurst@mit.edu> | 2014-02-17 19:21:46 -0500 |
commit | a3c561f3daaffc39245c1aabee46f8cc22f375b8 (patch) | |
tree | 03314bfe6d7f10b5f9e328b87a1cc3ff7988a057 /src | |
parent | 52ac255e004d2fc29f0484754885d12043e98422 (diff) |
Add Datetime JavaScript support.
Diffstat (limited to 'src')
-rw-r--r-- | src/settings.sml | 10 |
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"), |