fix Coffeescript types
This commit is contained in:
parent
15db754294
commit
d859e5c3f9
@ -254,7 +254,7 @@ addJuliusBody j = addHamlet $ \r -> H.script $ preEscapedLazyText $ renderJavasc
|
|||||||
|
|
||||||
-- | Add Coffesscript to the page's script tag. Requires the coffeescript
|
-- | Add Coffesscript to the page's script tag. Requires the coffeescript
|
||||||
-- executable to be present at runtime.
|
-- executable to be present at runtime.
|
||||||
addCoffee :: MonadIO m => Coffee (Route master) -> GGWidget master (GGHandler sub master m) ()
|
addCoffee :: MonadIO m => CoffeeUrl (Route master) -> GGWidget master (GGHandler sub master m) ()
|
||||||
addCoffee c = do
|
addCoffee c = do
|
||||||
render <- lift getUrlRenderParams
|
render <- lift getUrlRenderParams
|
||||||
t <- liftIO $ renderCoffee render c
|
t <- liftIO $ renderCoffee render c
|
||||||
@ -262,7 +262,7 @@ addCoffee c = do
|
|||||||
|
|
||||||
-- | 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 :: MonadIO m => Coffee (Route master) -> GGWidget master (GGHandler sub master m) ()
|
addCoffeeBody :: MonadIO m => CoffeeUrl (Route master) -> GGWidget master (GGHandler sub master m) ()
|
||||||
addCoffeeBody c = do
|
addCoffeeBody c = do
|
||||||
render <- lift getUrlRenderParams
|
render <- lift getUrlRenderParams
|
||||||
t <- liftIO $ renderCoffee render c
|
t <- liftIO $ renderCoffee render c
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user