fay-jquery 0.4.0.0 → 0.4.0.1
raw patch · 2 files changed
+10/−18 lines, 2 filesdep ~fay-basedep ~fay-textPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: fay-base, fay-text
API changes (from Hackage documentation)
- JQuery: fromInteger :: Integer -> Double
Files
- fay-jquery.cabal +3/−3
- src/JQuery.hs +7/−15
fay-jquery.cabal view
@@ -1,5 +1,5 @@ name: fay-jquery-version: 0.4.0.0+version: 0.4.0.1 synopsis: jQuery bindings for Fay. description: jQuery bindings for Fay. homepage: https://github.com/faylang/fay-jquery@@ -22,5 +22,5 @@ library hs-source-dirs: src exposed-modules: JQuery- build-depends: fay-base >= 0.17- , fay-text >= 0.1+ build-depends: fay-base >= 0.18+ , fay-text >= 0.2
src/JQuery.hs view
@@ -389,10 +389,10 @@ data Speed = Instantly | Slow | Fast | Speed Double data Animation = Animation- { _type :: AnimationType- , _speed :: Speed+ { _type :: AnimationType+ , _speed :: Speed , _nextAnimation :: Maybe Animation- , _element :: JQuery+ , _element :: JQuery } anim :: AnimationType -> JQuery -> Animation@@ -700,10 +700,11 @@ data CloneType = WithoutDataAndEvents | WithDataAndEvents | DeepWithDataAndEvents clone :: CloneType -> JQuery -> Fay JQuery-clone WithoutDataAndEvents = ffi "%2['clone'](false)"-clone WithDataAndEvents = ffi "%2['clone'](true, false)"-clone DeepWithDataAndEvents = ffi "%2['clone'](true, true)"+clone WithoutDataAndEvents = ffi "%1['clone'](false)" :: JQuery -> Fay JQuery+clone WithDataAndEvents = ffi "%1['clone'](true, false)" :: JQuery -> Fay JQuery+clone DeepWithDataAndEvents = ffi "%1['clone'](true, true)" :: JQuery -> Fay JQuery + detach :: JQuery -> Fay JQuery detach = ffi "%1['detach']()" @@ -1060,12 +1061,3 @@ -- vim implementation shortcut -- inoremap <F6> <ESC>:normal 0ywo<ESC>pa= ffi ""<ESC>F"i------------- Utilities-------fromInteger :: Integer -> Double-fromInteger = ffi "%1"