packages feed

fay-jquery 0.6.0.2 → 0.6.1.0

raw patch · 3 files changed

Files

CHANGELOG.md view
@@ -1,6 +1,14 @@ ## Changelog -#### 0.6.0.2 (2013-01-06)+### 0.6.1.0++* Add `currentTarget` thanks to Jelle Hermsen++#### 0.6.0.3 (2015-01-05)++* Bug fix: Serialize ajax post bodies using JSON.stringify.++#### 0.6.0.2 (2014-01-06)  * Bug fix: Force thunks on polymorphic arguments such as `a` in `append :: Selectable a => a -> JQuery -> Fay JQuery`. Previously only constant values would be passed to jQuery correctly for these arguments. 
fay-jquery.cabal view
@@ -1,5 +1,5 @@ name:                fay-jquery-version:             0.6.0.2+version:             0.6.1.0 synopsis:            jQuery bindings for Fay. description:         jQuery bindings for Fay. homepage:            https://github.com/faylang/fay-jquery
src/JQuery.hs view
@@ -159,6 +159,7 @@         \ delete o[p]; \       \ } \     \ } \+    \ o['data'] = JSON.stringify(o['data']); \     \ return jQuery.ajax(o); \   \ })(%1)" @@ -169,7 +170,6 @@ addClass :: Text -> JQuery -> Fay JQuery addClass = ffi "%2['addClass'](%1)" --- FIXME: https://github.com/chrisdone/fay/issues/38 addClassWith :: (Double -> Text -> Fay Text) -> JQuery -> Fay JQuery addClassWith = ffi "%2['addClass'](%1)" @@ -611,6 +611,9 @@  target :: Event -> Fay Element target = ffi "%1['target']"++currentTarget :: Event -> Fay Element+currentTarget = ffi "%1['currentTarget']"  timeStamp :: Event -> Fay Double timeStamp = ffi "%1['timeStamp']"