packages feed

snap-elm 0.1.1 → 0.1.1.1

raw patch · 2 files changed

+12/−4 lines, 2 files

Files

snap-elm.cabal view
@@ -1,5 +1,5 @@ name:                snap-elm-version:             0.1.1+version:             0.1.1.1 synopsis:            Serve Elm files through the Snap web framework. license:             BSD3 license-file:        LICENSE
src/Snap/Elm.hs view
@@ -68,9 +68,17 @@   }  -- | The default set of options for serving Elm files.--- This will use "static/js/elm-runtime.js" as the URI--- for the Elm runtime, so you should use a custom route--- if the route conflicts with another, for some reason.+-- The values are as follows (IO aside):+--+-- > ElmOptions+-- >   { elmIsVerbose   = False+-- >   , elmRuntimeURI  = "/static/js/elm-runtime.js"+-- >   , elmRuntimePath = <Language.Elm.runtime>+-- >   , elmSourcePath  = "."+-- >   , elmBuildPath   = "elm-build"+-- >   , elmCachePath   = "elm-cache"+-- >   }+-- defaultElmOptions :: MonadIO m => m ElmOptions defaultElmOptions = do   let v = False