diff --git a/ghcjs-dom-javascript/src/GHCJS/DOM/JSFFI/XMLHttpRequest.hs b/ghcjs-dom-javascript/src/GHCJS/DOM/JSFFI/XMLHttpRequest.hs index 574a4dfa..016a6e9a 100644 --- a/ghcjs-dom-javascript/src/GHCJS/DOM/JSFFI/XMLHttpRequest.hs +++ b/ghcjs-dom-javascript/src/GHCJS/DOM/JSFFI/XMLHttpRequest.hs @@ -32,7 +32,7 @@ throwXHRError 0 = return () throwXHRError 1 = throwIO XHRAborted throwXHRError 2 = throwIO XHRError -foreign import javascript interruptible "h$dom$sendXHR($1, $2, $c);" js_send :: XMLHttpRequest -> JSVal -> IO Int +foreign import javascript interruptible "h$dom$sendXHR" js_send :: XMLHttpRequest -> JSVal -> IO Int -- | send :: (MonadIO m) => XMLHttpRequest -> m () diff --git a/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal b/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal index 55182329..d641709a 100644 --- a/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal +++ b/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal @@ -24,7 +24,7 @@ library build-depends: base <5, transformers >=0.2 && <0.7, text >= 0.11.0.6 && < 2.2, - ghcjs-base >=0.2.0.0 && <0.3, + ghcjs-base >=0.2.0.0, ghc-prim default-language: Haskell2010