shakespeare-js 0.11.1 → 0.11.2
raw patch · 4 files changed
+12/−11 lines, 4 filesdep ~shakespearePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: shakespeare
API changes (from Hackage documentation)
Files
- Text/Coffee.hs +4/−3
- Text/Julius.hs +1/−1
- Text/Roy.hs +2/−2
- shakespeare-js.cabal +5/−5
Text/Coffee.hs view
@@ -52,10 +52,11 @@ jsettings <- javascriptSettings return $ jsettings { varChar = '%' , preConversion = Just PreConvert {- preConvert = ReadProcess "coffee" ["-spb"]+ preConvert = ReadProcess "coffee" ["-sp"] , preEscapeBegin = "`" , preEscapeEnd = "`"- , preEscapeIgnore = "'\"`"+ , preEscapeIgnoreBalanced = "'\"`"+ , preEscapeIgnoreLine = "#" } } @@ -79,7 +80,7 @@ coffeeFileReload :: FilePath -> Q Exp coffeeFileReload fp = do rs <- coffeeSettings- shakespeareFileDebug rs fp+ shakespeareFileReload rs fp -- | Deprecated synonym for 'coffeeFileReload' coffeeFileDebug :: FilePath -> Q Exp
Text/Julius.hs view
@@ -105,7 +105,7 @@ jsFileReload, juliusFileReload :: FilePath -> Q Exp jsFileReload fp = do rs <- javascriptSettings- shakespeareFileDebug rs fp+ shakespeareFileReload rs fp juliusFileReload = jsFileReload
Text/Roy.hs view
@@ -55,7 +55,7 @@ preConvert = ReadProcess "roy" ["--stdio"] , preEscapeBegin = "`" , preEscapeEnd = "`"- , preEscapeIgnore = "'\"`"+ , preEscapeIgnoreBalanced = "'\"`" } } @@ -79,4 +79,4 @@ royFileReload :: FilePath -> Q Exp royFileReload fp = do rs <- roySettings- shakespeareFileDebug rs fp+ shakespeareFileReload rs fp
shakespeare-js.cabal view
@@ -1,5 +1,5 @@ name: shakespeare-js-version: 0.11.1+version: 0.11.2 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -9,7 +9,7 @@ Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation . Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToJavascript instance. .- There is also shakespeare-coffeescript for coffeescript templates. Coffescript is a language that compiles down to javascript. It expects a coffeescript compiler in your path, and variable should be a ToCoffee instance.+ There is also shakespeare-coffeescript for coffeescript templates. Coffescript is a language that compiles down to javascript. It expects a coffeescript compiler in your path, and variable should be a ToCoffee instance. And we even have a Roy template for the adventorous FP addicts. . Please see http://docs.yesodweb.com/book/templates for a more thorough description and examples .@@ -29,7 +29,7 @@ library build-depends: base >= 4 && < 5- , shakespeare >= 0.10.3 && < 0.11+ , shakespeare >= 0.11 && < 0.12 , template-haskell , text >= 0.7 && < 0.12 @@ -62,7 +62,7 @@ ghc-options: -Wall build-depends: shakespeare-js >= 0.11 && < 0.12- , shakespeare >= 0.10.3 && < 0.11+ , shakespeare >= 0.10.3 && < 0.12 , base >= 4 && < 5 , HUnit , hspec >= 0.8 && < 0.10@@ -76,4 +76,4 @@ source-repository head type: git- location: git://github.com/yesodweb/hamlet.git+ location: git://github.com/yesodweb/shakespeare.git