jsaddle 0.9.8.1 → 0.9.8.2
raw patch · 2 files changed
+10/−10 lines, 2 filesdep ~aesondep ~attoparsecdep ~base64-bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, attoparsec, base64-bytestring, lens
API changes (from Hackage documentation)
Files
jsaddle.cabal view
@@ -1,5 +1,5 @@ name: jsaddle-version: 0.9.8.1+version: 0.9.8.2 cabal-version: >=1.10 build-type: Simple license: MIT@@ -35,7 +35,7 @@ ghcjs-prim -any else build-depends:- attoparsec >=0.11 && <0.14,+ attoparsec >=0.11 && <0.15, containers >=0.5.6.2 && <0.7, deepseq >=1.3 && < 1.5, filepath >=1.4.0.0 && <1.5,@@ -107,13 +107,13 @@ Language.Javascript.JSaddle.Value Language.Javascript.JSaddle.Types build-depends:- aeson >=0.11.3.0 && <1.6,+ aeson >=0.11.3.0 && <2.1, base >=4.9 && <5, base-compat >=0.9.0 && <0.12,- base64-bytestring >=1.0.0.1 && <1.2,+ base64-bytestring >=1.0.0.1 && <1.3, bytestring >=0.10.6.0 && <0.11, exceptions >=0.8 && <0.11,- lens >=3.8.5 && <5.1,+ lens >=3.8.5 && <5.2, primitive >=0.6.1.0 && <0.8, text >=1.2.1.3 && <1.3, transformers >=0.4.2.0 && <0.6
src/Language/Javascript/JSaddle/Object.hs view
@@ -144,7 +144,7 @@ -- >>> import Control.Lens.Operators ((^.)) -- >>> import qualified Data.Text as T (unpack) --- | Object can be made by evaluating a fnction in 'JSM' as long+-- | Object can be made by evaluating a function in 'JSM' as long -- as it returns something we can make into a Object. instance MakeObject v => MakeObject (JSM v) where makeObject v = v >>= makeObject@@ -188,7 +188,7 @@ js :: (MakeObject s, ToJSString name) => name -- ^ Name of the property to find -> IndexPreservingGetter s (JSM JSVal)-js name = to (!name)+js name = to (! name) -- | Makes a setter for a particular property name. --@@ -444,7 +444,7 @@ makeFunctionWithCallback :: Callback (JSVal -> JSVal -> IO ()) -> IO Object #endif --- ^ Make a JavaScript function object that wraps a Haskell function.+-- | Make a JavaScript function object that wraps a Haskell function. -- Calls made to the function will be synchronous where possible -- (on GHCJS it uses on `syncCallback2` with `ContinueAsync`). function :: JSCallAsFunction -- ^ Haskell function to call@@ -462,8 +462,8 @@ return $ Function object #endif --- ^ Make a JavaScript function object that wraps a Haskell function.--- Calls made to the function will be Asynchronous.+-- | Make a JavaScript function object that wraps a Haskell function.+-- Calls made to the function will be asynchronous. asyncFunction :: JSCallAsFunction -- ^ Haskell function to call -> JSM Function -- ^ Returns a JavaScript function object that will -- call the Haskell one when it is called