From 2a01710f4b25946683a18e96c78d1bcf77ed2cb6 Mon Sep 17 00:00:00 2001 From: Sibi Date: Sun, 5 Jun 2016 23:58:22 +0530 Subject: [PATCH] Remove outdated instruction for jsLoader (#1238) --- yesod-core/Yesod/Core/Class/Yesod.hs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/yesod-core/Yesod/Core/Class/Yesod.hs b/yesod-core/Yesod/Core/Class/Yesod.hs index 5147fed7..3161aee6 100644 --- a/yesod-core/Yesod/Core/Class/Yesod.hs +++ b/yesod-core/Yesod/Core/Class/Yesod.hs @@ -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