ghcjs-dom-jsffi 0.7.0.2 → 0.7.0.3
raw patch · 2 files changed
+15/−2 lines, 2 files
Files
ghcjs-dom-jsffi.cabal view
@@ -1,5 +1,5 @@ name: ghcjs-dom-jsffi-version: 0.7.0.2+version: 0.7.0.3 cabal-version: >=1.24 build-type: Simple license: MIT@@ -26,6 +26,7 @@ ghc-prim default-language: Haskell2010+ other-extensions: JavaScriptFFI hs-source-dirs: src cpp-options: -DUSE_JAVASCRIPTFFI
src/GHCJS/DOM/JSFFI/RTCPeerConnection.hs view
@@ -14,6 +14,12 @@ , js_setRemoteDescription , setRemoteDescription' , setRemoteDescription+ , js_addIceCandidate+ , addIceCandidate'+ , addIceCandidate+ , js_getStats+ , getStats'+ , getStats ) where import GHC.Base (IO(..))@@ -25,7 +31,13 @@ import GHCJS.DOM.Types import GHCJS.DOM.JSFFI.DOMError (throwDOMErrorException)-import GHCJS.DOM.JSFFI.Generated.Geolocation as Generated hiding (js_getCurrentPosition, getCurrentPosition)+import qualified GHCJS.DOM.JSFFI.Generated.RTCPeerConnection as Generated hiding (+ js_createOffer, createOffer+ , js_createAnswer, createAnswer+ , js_setLocalDescription, setLocalDescription+ , js_setRemoteDescription, setRemoteDescription+ , js_addIceCandidate, addIceCandidate+ , js_getStats, getStats) foreign import javascript interruptible "$1[\"createOffer\"](function(d) { $c(true, d); }, function(e) { $c(false, e); }, $2);" js_createOffer ::