diff options
author | 2010-09-05 12:50:06 -0400 | |
---|---|---|
committer | 2010-09-05 12:50:06 -0400 | |
commit | ce596432147d4d538c545fc75d0770db2f707a3d (patch) | |
tree | 48228fa3115dbfd0aa879241a65d8329402ba5f7 /src/monoize.sml | |
parent | c5613bf00fd7c8d57cc96d7fb699ffa8098df454 (diff) |
Support multiple CSS classes for a single tag
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index b76abb67..cde1af70 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -2806,6 +2806,15 @@ fun monoExp (env, st, fm) (all as (e, loc)) = ((L'.ESetval (e1, e2), loc), fm) end + | L.EFfiApp ("Basis", "classes", [s1, s2]) => + let + val (s1, fm) = monoExp (env, st, fm) s1 + val (s2, fm) = monoExp (env, st, fm) s2 + in + ((L'.EStrcat (s1, (L'.EStrcat ((L'.EPrim (Prim.String " "), loc), s2), loc)), loc), + fm) + end + | L.EApp ( (L.ECApp ( (L.ECApp ((L.EFfi ("Basis", "cdata"), _), _), _), |