- Add
currentTargetthanks to Jelle Hermsen
- Bug fix: Serialize ajax post bodies using JSON.stringify.
- Bug fix: Force thunks on polymorphic arguments such as
ainappend :: 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 TexttoText -> JQuery -> Fay (Defined Text)
- Add
Selectabletypeclass (with instances forText,JQueryandElement.Stringis not a valid instance.) selectandisnow acceptSelectable a => aas the first argument.selectElement,selectObject,isJQuery, andisElementhas been removed in favor ofselectandis.createJQuery :: Text -> a -> Fay JQueryhas been replaced byselectInContext :: (Selectable a, Selectable b) => a -> b -> Fay JQueryisWith :: (Double -> Bool) -> JQuery -> Fay JQueryhas changed toisWith :: (Int -> Bool) -> JQuery -> Fay JQuery- Updated usage instructions in README
Bug fixes:
isnow returnsBool
- Fixed bug in definition of
clone - Don't define
fromIntegral.
- Updated to use fay-text, which fixes bugs in ajax FFI calls.