Remove outdated instruction for jsLoader (#1238)
This commit is contained in:
parent
3a2a71537e
commit
2a01710f4b
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user