From 617c1d724e085ff127028f4ef8ad84a3d5337e4a Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 2 Jan 2013 14:26:56 +0200 Subject: [PATCH] Removed some FIXMEs --- yesod-core/Yesod/Internal.hs | 2 +- yesod-core/Yesod/Widget.hs | 4 ---- yesod-form/Yesod/Form/Fields.hs | 1 - yesod-form/Yesod/Form/Functions.hs | 1 - yesod-form/Yesod/Form/Jquery.hs | 1 - yesod-form/Yesod/Form/Nic.hs | 1 - yesod-routes/Yesod/Routes/Overlap.hs | 26 ---------------------- yesod-static/Yesod/Static.hs | 32 ---------------------------- yesod/Build.hs | 3 --- 9 files changed, 1 insertion(+), 70 deletions(-) diff --git a/yesod-core/Yesod/Internal.hs b/yesod-core/Yesod/Internal.hs index b3dcee76..d1560e30 100644 --- a/yesod-core/Yesod/Internal.hs +++ b/yesod-core/Yesod/Internal.hs @@ -127,7 +127,7 @@ instance Monoid (GWData a) where data HandlerContents = HCContent H.Status ChooseRep | HCError ErrorResponse - | HCSendFile ContentType FilePath (Maybe W.FilePart) -- FIXME replace FilePath with opaque type from system-filepath? + | HCSendFile ContentType FilePath (Maybe W.FilePart) | HCRedirect H.Status Text | HCCreated Text | HCWai W.Response diff --git a/yesod-core/Yesod/Widget.hs b/yesod-core/Yesod/Widget.hs index 63ab1387..bd94bd39 100644 --- a/yesod-core/Yesod/Widget.hs +++ b/yesod-core/Yesod/Widget.hs @@ -115,10 +115,6 @@ addSubWidget sub (GWidget w) = do class ToWidget sub master a where toWidget :: a -> GWidget sub master () --- FIXME At some point in the future, deprecate all the --- addHamlet/Cassius/Lucius/Julius stuff. For the most part, toWidget* will be --- sufficient. For somethings, like addLuciusMedia, create addCssUrlMedia. - type RY master = Route master -> [(Text, Text)] -> Text -- | Newtype wrapper allowing injection of arbitrary content into CSS. diff --git a/yesod-form/Yesod/Form/Fields.hs b/yesod-form/Yesod/Form/Fields.hs index 233232a8..a2a93d89 100644 --- a/yesod-form/Yesod/Form/Fields.hs +++ b/yesod-form/Yesod/Form/Fields.hs @@ -161,7 +161,6 @@ htmlField = Field { fieldParse = parseHelper $ Right . preEscapedText . sanitizeBalance , fieldView = \theId name attrs val _isReq -> toWidget [hamlet| $newline never -$# FIXME: There was a class="html" attribute, for what purpose?