yesod-fay 0.7.0 → 0.7.1
raw patch · 2 files changed
+5/−4 lines, 2 filesnew-uploaderPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Yesod/Fay.hs +4/−3
- yesod-fay.cabal +1/−1
Yesod/Fay.hs view
@@ -381,13 +381,14 @@ [| do maybeRequireJQuery needJQuery $(requireFayRuntime settings)- let bs =+ -- Optimization, broken by update, but not required.+ {-let bs = $(do let lt = toLazyText contents lenE = LitE $ IntegerL $ fromIntegral $ TL.length lt strE = LitE $ stringPrimL lt packer = VarE 'unsafePackAddressLen- return $ packer `AppE` lenE `AppE` strE)- toWidget $ const $ Javascript $ fromText $ decodeUtf8 bs+ return $ packer `AppE` lenE `AppE` strE)-}+ toWidget $ const $ Javascript $ s' |] Just (fp', exp') -> do let name' = concat ["faygen-", hash, ".js"]
yesod-fay.cabal view
@@ -1,5 +1,5 @@ name: yesod-fay-version: 0.7.0+version: 0.7.1 synopsis: Utilities for using the Fay Haskell-to-JS compiler with Yesod. description: For initial discussion, see <http://www.yesodweb.com/blog/2012/10/yesod-fay-js>. This is a work-in-progress. homepage: https://github.com/fpco/yesod-fay