Merge pull request #83 from montagy/develop
add IsXhrPayload instance of Text
commitf4d9a8b5c6949d8aef636ea8cfdc152d3327856e
authorRyan Trinkle <ryan.trinkle@gmail.com>
dateTue 23 Aug 2016, 01:17 (10 years ago)
parentc40b25f179a8bc
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