diff options
author | 2009-05-30 09:59:10 -0400 | |
---|---|---|
committer | 2009-05-30 09:59:10 -0400 | |
commit | 581a2290590268039cacfbe0762b343f710c3116 (patch) | |
tree | a464f8a46243a2a77f37e93ab8934b1d7d11f0fc /src/settings.sml | |
parent | 62c7b094ecf7e618a2e31658994bf648e1b36819 (diff) |
String.length
Diffstat (limited to 'src/settings.sml')
-rw-r--r-- | src/settings.sml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.sml b/src/settings.sml index 4b2092d2..fa162660 100644 --- a/src/settings.sml +++ b/src/settings.sml @@ -152,7 +152,8 @@ val jsFuncsBase = basisM [("alert", "alert"), ("attrifyBool", "bs"), ("boolToString", "ts"), ("strsub", "sub"), - ("strsuffix", "suf")] + ("strsuffix", "suf"), + ("strlen", "slen")] 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) |