now loading scripts before content

This commit is contained in:
nek0 2015-05-19 03:43:55 +02:00
parent 823d00ba8e
commit 259976d927

View file

@ -169,8 +169,8 @@ instance Yesod App where
-- Generate a unique filename based on the content itself -- Generate a unique filename based on the content itself
genFileName lbs = "autogen-" ++ base64md5 lbs genFileName lbs = "autogen-" ++ base64md5 lbs
-- Place Javascript at bottom of the body tag so the rest of the page loads first -- Place Javascript at head so scripts become loaded before content
jsLoader _ = BottomOfBody jsLoader _ = BottomOfHeadBlocking
-- What messages should be logged. The following includes all messages when -- What messages should be logged. The following includes all messages when
-- in development, and warnings and errors in production. -- in development, and warnings and errors in production.