Removed Widget alias, defined by scaffolder now
This commit is contained in:
parent
bd2e033acb
commit
6d326855d9
@ -8,7 +8,6 @@
|
||||
module Yesod.Widget
|
||||
( -- * Datatype
|
||||
GWidget (..)
|
||||
, Widget
|
||||
, liftHandler
|
||||
-- * Creating
|
||||
, newIdent
|
||||
@ -59,8 +58,6 @@ newtype GWidget sub master a = GWidget (
|
||||
instance Monoid (GWidget sub master ()) where
|
||||
mempty = return ()
|
||||
mappend x y = x >> y
|
||||
-- | A 'GWidget' specialized to when the subsite and master site are the same.
|
||||
type Widget y = GWidget y y
|
||||
|
||||
instance HamletValue (GWidget s m ()) where
|
||||
newtype HamletMonad (GWidget s m ()) a =
|
||||
|
||||
@ -40,6 +40,10 @@ data ~sitearg~ = ~sitearg~
|
||||
-- will need to be of this type.
|
||||
type Handler = GHandler ~sitearg~ ~sitearg~
|
||||
|
||||
-- | A useful synonym; most of the widgets functions in your application
|
||||
-- will need to be of this type.
|
||||
type Widget = GWidget ~sitearg~ ~sitearg~
|
||||
|
||||
-- This is where we define all of the routes in our application. For a full
|
||||
-- explanation of the syntax, please see:
|
||||
-- http://docs.yesodweb.com/book/web-routes-quasi/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod
|
||||
version: 0.5.4.2
|
||||
version: 0.6.0
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user