snap-extras 0.12.3.1 → 0.12.3.2
raw patch · 3 files changed
+7/−4 lines, 3 files
Files
- changelog.md +3/−0
- snap-extras.cabal +1/−1
- src/Snap/Extras/PollStatus.hs +3/−3
changelog.md view
@@ -1,3 +1,6 @@+0.12.3.2+* GHC 9.12 compatibility [#30](https://github.com/ozataman/snap-extras/pull/30)+ 0.12.3.1 * GHC 9.6 and Lens 5 compatibility [#29](https://github.com/ozataman/snap-extras/pull/29)
snap-extras.cabal view
@@ -1,5 +1,5 @@ Name: snap-extras-Version: 0.12.3.1+Version: 0.12.3.2 Synopsis: A collection of useful helpers and utilities for Snap web applications. Description: This package contains a collection of helper functions that come in handy in most practical, real-world
src/Snap/Extras/PollStatus.hs view
@@ -186,11 +186,11 @@ -> Int -- ^ The amount of time to wait before requesting the page in milliseconds -> Text-updateJS url delay = T.pack $ show $ renderOneLine $ renderJs $+updateJS url delay = T.pack $ Prelude.show $ renderOneLine $ renderJs $ [jmacro| setTimeout(function() { $.get(`(T.unpack url)`);- }, `(show delay)`);+ }, `(Prelude.show delay)`); |] @@ -243,7 +243,7 @@ ------------------------------------------------------------------------------ tshow :: Show a => a -> Text-tshow = T.pack . show+tshow = T.pack . Prelude.show ------------------------------------------------------------------------------