- Add
currentTarget
thanks to Jelle Hermsen
- Bug fix: Serialize ajax post bodies using JSON.stringify.
- Bug fix: Force thunks on polymorphic arguments such as
a
inappend :: Selectable a => a -> JQuery -> Fay JQuery
. Previously only constant values would be passed to jQuery correctly for these arguments.
- Fix typo in constraint, fixes build
- Constrain more free type variables to
Selectable
- Change
getAttr :: Text -> JQuery -> Fay Text
toText -> JQuery -> Fay (Defined Text)
- Add
Selectable
typeclass (with instances forText
,JQuery
andElement
.String
is not a valid instance.) select
andis
now acceptSelectable a => a
as the first argument.selectElement
,selectObject
,isJQuery
, andisElement
has been removed in favor ofselect
andis
.createJQuery :: Text -> a -> Fay JQuery
has been replaced byselectInContext :: (Selectable a, Selectable b) => a -> b -> Fay JQuery
isWith :: (Double -> Bool) -> JQuery -> Fay JQuery
has changed toisWith :: (Int -> Bool) -> JQuery -> Fay JQuery
- Updated usage instructions in README
Bug fixes:
is
now returnsBool
- Fixed bug in definition of
clone
- Don't define
fromIntegral
.
- Updated to use fay-text, which fixes bugs in ajax FFI calls.