yesod-fay 0.5.0 → 0.5.0.1
raw patch · 2 files changed
+9/−2 lines, 2 files
Files
- Yesod/Fay.hs +8/−1
- yesod-fay.cabal +1/−1
Yesod/Fay.hs view
@@ -192,7 +192,14 @@ } yesodFaySettings :: String -> YesodFaySettings-yesodFaySettings moduleName = YesodFaySettings moduleName Nothing return Nothing True []+yesodFaySettings moduleName = YesodFaySettings+ { yfsModuleName = moduleName+ , yfsSeparateRuntime = Nothing+ , yfsPostProcess = return+ , yfsExternal = Nothing+ , yfsRequireJQuery = True+ , yfsPackages = ["fay-base"]+ } updateRuntime :: FilePath -> IO () updateRuntime fp = getRuntime >>= \js -> createTree (directory $ decodeString fp) >> copyFile js fp
yesod-fay.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: yesod-fay-version: 0.5.0+version: 0.5.0.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