packages feed

threepenny-gui 0.9.3.0 → 0.9.4.0

raw patch · 4 files changed

+7/−7 lines, 4 filesdep ~aesondep ~bytestringdep ~deepseq

Dependency ranges changed: aeson, bytestring, deepseq, template-haskell, text, transformers

Files

CHANGELOG.md view
@@ -1,6 +1,6 @@ ## Changelog for the `threepenny-gui` package -**0.9.3.0** – Maintenance and snapshot release+**0.9.4.0** – Maintenance and snapshot release  * Fix support for SSL: Export `ConfigSSL` constructor. 
src/Foreign/JavaScript.hs view
@@ -18,7 +18,7 @@         , jsCustomHTML, jsStatic, jsLog         , jsWindowReloadOnDisconnect, jsCallBufferMode         , jsUseSSL),-    ConfigSSL (jsSSLBind, jsSSLCert, jsSSLChainCert, jsSSLKey, jsSSLPort),+    ConfigSSL (..),     Server, MimeType, URI, loadFile, loadDirectory,     Window, getServer, getCookies, root, 
src/Graphics/UI/Threepenny/Core.hs view
@@ -5,7 +5,7 @@      -- * Server     -- $server-    Config(..), defaultConfig, startGUI,+    Config(..), ConfigSSL (..), defaultConfig, startGUI,     loadFile, loadDirectory,      -- * UI monad@@ -70,7 +70,7 @@ import qualified Reactive.Threepenny             as Reactive  -- exports-import Foreign.JavaScript                   (Config(..), defaultConfig)+import Foreign.JavaScript                   (Config(..), ConfigSSL (..), defaultConfig) import Graphics.UI.Threepenny.Internal import Reactive.Threepenny                  hiding (onChange) @@ -134,7 +134,7 @@  -- | Set CSS style of an Element style :: WriteAttr Element [(String,String)]-style = mkWriteAttr $ \xs el -> forM_ xs $ \(name,val) -> +style = mkWriteAttr $ \xs el -> forM_ xs $ \(name,val) ->     runFunction $ ffi "%1.style[%2] = %3" el name val  -- | Value attribute of an element.@@ -360,7 +360,7 @@ fromObjectProperty :: (FromJS a, ToJS a) => String -> Attr Element a fromObjectProperty name = mkReadWriteAttr get set     where-    set v el = runFunction  $ ffi ("%1." ++ name ++ " = %2") el v    +    set v el = runFunction  $ ffi ("%1." ++ name ++ " = %2") el v     get   el = callFunction $ ffi ("%1." ++ name) el  {-----------------------------------------------------------------------------
threepenny-gui.cabal view
@@ -1,5 +1,5 @@ Name:                threepenny-gui-Version:             0.9.3.0+Version:             0.9.4.0 Synopsis:            GUI framework that uses the web browser as a display. Description:     Threepenny-GUI is a GUI framework that uses the web browser as a display.