update shakespeare-js to 0.11
This commit is contained in:
parent
fe5e69cb0e
commit
8b92389bc0
@ -256,16 +256,14 @@ addJuliusBody j = addHamlet $ \r -> H.script $ preEscapedLazyText $ renderJavasc
|
|||||||
addCoffee :: CoffeeUrl (Route master) -> GWidget sub master ()
|
addCoffee :: CoffeeUrl (Route master) -> GWidget sub master ()
|
||||||
addCoffee c = do
|
addCoffee c = do
|
||||||
render <- lift getUrlRenderParams
|
render <- lift getUrlRenderParams
|
||||||
t <- liftIO $ renderCoffee render c
|
addJulius $ const $ Javascript $ fromLazyText $ renderCoffeeUrl render c
|
||||||
addJulius $ const $ Javascript $ fromLazyText t
|
|
||||||
|
|
||||||
-- | Add a new script tag to the body with the contents of this Coffesscript
|
-- | Add a new script tag to the body with the contents of this Coffesscript
|
||||||
-- template. Requires the coffeescript executable to be present at runtime.
|
-- template. Requires the coffeescript executable to be present at runtime.
|
||||||
addCoffeeBody :: CoffeeUrl (Route master) -> GWidget sub master ()
|
addCoffeeBody :: CoffeeUrl (Route master) -> GWidget sub master ()
|
||||||
addCoffeeBody c = do
|
addCoffeeBody c = do
|
||||||
render <- lift getUrlRenderParams
|
render <- lift getUrlRenderParams
|
||||||
t <- liftIO $ renderCoffee render c
|
addJuliusBody $ const $ Javascript $ fromLazyText $ renderCoffeeUrl render c
|
||||||
addJuliusBody $ const $ Javascript $ fromLazyText t
|
|
||||||
|
|
||||||
-- | Content for a web page. By providing this datatype, we can easily create
|
-- | Content for a web page. By providing this datatype, we can easily create
|
||||||
-- generic site templates, which would have the type signature:
|
-- generic site templates, which would have the type signature:
|
||||||
|
|||||||
@ -56,7 +56,7 @@ library
|
|||||||
, path-pieces >= 0.1 && < 0.2
|
, path-pieces >= 0.1 && < 0.2
|
||||||
, hamlet >= 0.10.7 && < 0.11
|
, hamlet >= 0.10.7 && < 0.11
|
||||||
, shakespeare >= 0.10 && < 0.11
|
, shakespeare >= 0.10 && < 0.11
|
||||||
, shakespeare-js >= 0.10.4 && < 0.11
|
, shakespeare-js >= 0.11 && < 0.12
|
||||||
, shakespeare-css >= 0.10.5 && < 0.11
|
, shakespeare-css >= 0.10.5 && < 0.11
|
||||||
, shakespeare-i18n >= 0.0 && < 0.1
|
, shakespeare-i18n >= 0.0 && < 0.1
|
||||||
, blaze-builder >= 0.2.1.4 && < 0.4
|
, blaze-builder >= 0.2.1.4 && < 0.4
|
||||||
|
|||||||
@ -27,7 +27,7 @@ library
|
|||||||
, text >= 0.9
|
, text >= 0.9
|
||||||
, directory >= 1.0
|
, directory >= 1.0
|
||||||
, shakespeare-css >= 0.10.5 && < 0.11
|
, shakespeare-css >= 0.10.5 && < 0.11
|
||||||
, shakespeare-js >= 0.10.4 && < 0.11
|
, shakespeare-js >= 0.11 && < 0.12
|
||||||
, template-haskell
|
, template-haskell
|
||||||
, yaml >= 0.5.1.2 && < 0.6
|
, yaml >= 0.5.1.2 && < 0.6
|
||||||
, unordered-containers
|
, unordered-containers
|
||||||
|
|||||||
@ -19,7 +19,7 @@ library
|
|||||||
, time >= 1.1.4
|
, time >= 1.1.4
|
||||||
, hamlet >= 0.10 && < 0.11
|
, hamlet >= 0.10 && < 0.11
|
||||||
, shakespeare-css >= 0.10 && < 0.11
|
, shakespeare-css >= 0.10 && < 0.11
|
||||||
, shakespeare-js >= 0.10 && < 0.11
|
, shakespeare-js >= 0.11 && < 0.12
|
||||||
, persistent >= 0.8 && < 0.9
|
, persistent >= 0.8 && < 0.9
|
||||||
, template-haskell
|
, template-haskell
|
||||||
, transformers >= 0.2.2 && < 0.3
|
, transformers >= 0.2.2 && < 0.3
|
||||||
|
|||||||
@ -18,7 +18,7 @@ library
|
|||||||
, yesod-routes < 0.1
|
, yesod-routes < 0.1
|
||||||
, aeson >= 0.5
|
, aeson >= 0.5
|
||||||
, text >= 0.8 && < 1.0
|
, text >= 0.8 && < 1.0
|
||||||
, shakespeare-js >= 0.10 && < 0.11
|
, shakespeare-js >= 0.11 && < 0.12
|
||||||
, vector >= 0.9
|
, vector >= 0.9
|
||||||
, containers >= 0.2
|
, containers >= 0.2
|
||||||
, blaze-builder
|
, blaze-builder
|
||||||
|
|||||||
@ -84,7 +84,7 @@ library
|
|||||||
, wai-extra >= 1.1 && < 1.2
|
, wai-extra >= 1.1 && < 1.2
|
||||||
, wai-logger >= 0.1.2
|
, wai-logger >= 0.1.2
|
||||||
, hamlet >= 0.10 && < 0.11
|
, hamlet >= 0.10 && < 0.11
|
||||||
, shakespeare-js >= 0.10 && < 0.11
|
, shakespeare-js >= 0.11 && < 0.12
|
||||||
, shakespeare-css >= 0.10 && < 0.11
|
, shakespeare-css >= 0.10 && < 0.11
|
||||||
, warp >= 1.1 && < 1.2
|
, warp >= 1.1 && < 1.2
|
||||||
, blaze-html >= 0.4.1.3 && < 0.5
|
, blaze-html >= 0.4.1.3 && < 0.5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user