miso-examples 1.8.6.0 → 1.8.7.0
raw patch · 4 files changed
+5/−5 lines, 4 files
Files
- canvas2d/Main.hs +1/−1
- file-reader/Main.hs +2/−2
- miso-examples.cabal +1/−1
- three/Main.hs +1/−1
canvas2d/Main.hs view
@@ -71,7 +71,7 @@ drawImage sun 0 0 300 300 ctx pure GetTime -#ifndef ghcjs_HOST_OS+#ifdef javascript_HOST_ARCH foreign import javascript unsafe "((x) => { x.globalCompositeOperation = 'destination-over'; })" setGlobalCompositeOperation :: Context -> IO ()
file-reader/Main.hs view
@@ -13,7 +13,7 @@ import Control.Concurrent.MVar import GHCJS.Types-#ifndef ghcjs_HOST_OS+#ifdef javascript_HOST_ARCH import GHC.JS.Foreign.Callback #else import GHCJS.Foreign.Callback@@ -76,7 +76,7 @@ , div_ [] [ text info ] ] -#ifndef ghcjs_HOST_OS+#ifdef javascript_HOST_ARCH foreign import javascript unsafe "(() => { return new FileReader(); })" newReader :: IO JSVal
miso-examples.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: miso-examples-version: 1.8.6.0+version: 1.8.7.0 category: Web, Miso, Data Structures author: David M. Johnson <code@dmj.io> maintainer: David M. Johnson <code@dmj.io>
three/Main.hs view
@@ -98,7 +98,7 @@ updateModel _ (SetTime m) _ = m <# pure GetTime -#ifndef ghcjs_HOST_OS+#ifdef javascript_HOST_ARCH foreign import javascript unsafe "(() => { return new Stats(); })" newStats :: IO JSVal