shakespeare-js 1.0.0.2 → 1.0.0.3
raw patch · 3 files changed
+6/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Text/Coffee.hs +2/−2
- Text/Roy.hs +3/−2
- shakespeare-js.cabal +1/−1
Text/Coffee.hs view
@@ -39,8 +39,8 @@ import Text.Shakespeare import Text.Julius --- | The Roy language compiles down to Javascript.--- We do this once at compile time to avoid needing to do it during the request.+-- | The Coffeescript language compiles down to Javascript.+-- We do this compilation once at compile time to avoid needing to do it during the request. -- We call this a preConversion because other shakespeare modules like Lucius use Haskell to compile during the request rather than a system call. -- During the pre-conversion we first modify all Haskell insertions -- so that they will be ignored by the Coffeescript compiler (backticks).
Text/Roy.hs view
@@ -45,8 +45,8 @@ import Text.Julius -- | The Roy language compiles down to Javascript.--- We do this once at compile time to avoid needing to do it during the request.--- We call this a preConversion because other shakespeare modules like Lucius use Haskell to compile during the request rather than a system call.+-- We do this compilation once at compile time to avoid needing to do it during the request.+-- We call this a preConversion because other shakespeare modules like Lucius use Haskell to compile during the request instead rather than a system call. roySettings :: Q ShakespeareSettings roySettings = do jsettings <- javascriptSettings@@ -56,6 +56,7 @@ , preEscapeBegin = "`" , preEscapeEnd = "`" , preEscapeIgnoreBalanced = "'\"`"+ , preEscapeIgnoreLine = "//" } }
shakespeare-js.cabal view
@@ -1,5 +1,5 @@ name: shakespeare-js-version: 1.0.0.2+version: 1.0.0.3 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>