on develop help sign in
add IsXhrPayload instance of Text
179a8bcmontagy
src-ghcjs/Reflex/Dom/Xhr/Foreign.hs+3
@@ -49,6 +49,9 @@ instance IsXhrPayload () where
49instance IsXhrPayload String where
49instance IsXhrPayload String where
50 sendXhrPayload = sendString
50 sendXhrPayload = sendString
51
51
52+instance IsXhrPayload Text where
53+ sendXhrPayload = sendString
54+
52instance IsXhrPayload FormData where
55instance IsXhrPayload FormData where
53 sendXhrPayload = sendFormData
56 sendXhrPayload = sendFormData
54
57