on develop help sign in
add IsXhrPayload instance of Text

since use Text everywhere, i think this instance is necessary. is JSString instance necessary?

commit179a8bc845edb5f4dd3af3e8228d7cb27262bf95 authormontagy <jencean@gmail.com> dateTue 16 Aug 2016, 11:03 (10 years ago) parentd8cb71e
1 file changed+3
src-ghcjs/Reflex/Dom/Xhr/Foreign.hs+3
src-ghcjs/Reflex/Dom/Xhr/Foreign.hs+3
@@ -49,6 +49,9 @@ instance IsXhrPayload () where
4949instance IsXhrPayload String where
5050 sendXhrPayload = sendString
5151
52+instance IsXhrPayload Text where
53+ sendXhrPayload = sendString
54+
5255instance IsXhrPayload FormData where
5356 sendXhrPayload = sendFormData
5457