From d32b698545d9adc9161c69b6d59c5bccd46161ff Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 5 Oct 2017 07:49:58 +1100 Subject: [PATCH] Remove unused CSRF-handling JS from the layout, we'll probably not be making AJAX requests here anyway --- src/Foundation.hs | 2 -- templates/default-layout-wrapper.hamlet | 18 ------------------ 2 files changed, 20 deletions(-) diff --git a/src/Foundation.hs b/src/Foundation.hs index d51bdb5..4ca79be 100644 --- a/src/Foundation.hs +++ b/src/Foundation.hs @@ -19,8 +19,6 @@ import Yesod.Auth.OpenId (authOpenId, IdentifierType (Claimed)) import Yesod.Default.Util (addStaticContentExternal) import Yesod.Core.Types (Logger) import qualified Yesod.Core.Unsafe as Unsafe -import qualified Data.CaseInsensitive as CI -import qualified Data.Text.Encoding as TE -- | The foundation datatype for your application. This can be a good place to -- keep settings and values requiring initialization before your application diff --git a/templates/default-layout-wrapper.hamlet b/templates/default-layout-wrapper.hamlet index 9cfc0b0..434486c 100644 --- a/templates/default-layout-wrapper.hamlet +++ b/templates/default-layout-wrapper.hamlet @@ -15,24 +15,6 @@ $doctype 5 ^{pageHead pc} -