Remove outdated instruction for jsLoader (#1238)

This commit is contained in:
Sibi 2016-06-05 23:58:22 +05:30 committed by Greg Weber
parent 3a2a71537e
commit 2a01710f4b

View File

@ -226,11 +226,7 @@ class RenderRoute site => Yesod site where
messageLoggerSource site = defaultMessageLoggerSource $ shouldLogIO site
-- | Where to Load sripts from. We recommend the default value,
-- 'BottomOfBody'. Alternatively use the built in async yepnope loader:
--
-- > BottomOfHeadAsync $ loadJsYepnope $ Right $ StaticR js_modernizr_js
--
-- Or write your own async js loader.
-- 'BottomOfBody'.
jsLoader :: site -> ScriptLoadPosition site
jsLoader _ = BottomOfBody