This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "heist".
The branch, master has been updated
via 76f1737f23a87e36e6965f981dcb63f65df9a98c (commit)
from 915d662dc1119be9f72fb59b47378bf5385541c6 (commit)
Summary of changes:
src/Text/Templating/Heist/Splices/Static.hs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 76f1737f23a87e36e6965f981dcb63f65df9a98c
Author: Mighty Byte <[email protected]>
Date: Thu Jun 10 22:14:09 2010 -0400
Updated docs for the static tag, removing bad link.
diff --git a/src/Text/Templating/Heist/Splices/Static.hs
b/src/Text/Templating/Heist/Splices/Static.hs
index 273f1a0..aa1ddad 100644
--- a/src/Text/Templating/Heist/Splices/Static.hs
+++ b/src/Text/Templating/Heist/Splices/Static.hs
@@ -40,7 +40,7 @@ clearStaticTagCache (STS staticMVar) =
------------------------------------------------------------------------------
--- | The "static" splice ensures that its contents are evaluated once and then
+-- | The \"static\" splice ensures that its contents are evaluated once and
then
-- cached. The cached contents are returned every time the splice is
-- referenced.
staticImpl :: (MonadIO m)
@@ -68,7 +68,10 @@ staticImpl (STS mv) = do
------------------------------------------------------------------------------
--- | Modifies a TemplateState to include a "static" tag.
+-- | Modifies a TemplateState to include a \"static\" tag. The static tag is
+-- not bound automatically with the other default Heist tags. This is because
+-- this function also returns StaticTagState, so the user will be able to
+-- clear it with the 'clearStaticTagCache' function.
bindStaticTag :: MonadIO m
=> TemplateState m
-> IO (TemplateState m, StaticTagState)
-----------------------------------------------------------------------
hooks/post-receive
--
heist
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap