@@ -1,9 +1,11 @@
1−name: servant-jquery
1+name: servant-js
22version: 0.4.1
3−synopsis: Automatically derive (jquery) javascript functions to query servant webservices
3+synopsis: Automatically derive javascript functions to query servant webservices.
44description:
55 Automatically derive jquery-based javascript functions to query servant webservices.
66 .
7+ Supports deriving functions using vanilla javascript AJAX requests, Angular or JQuery.
8+ .
79 You can find an example <https://github.com/haskell-servant/servant/blob/master/servant-jquery/examples/counter.hs here>
810 which serves the generated javascript to a webpage that allows you to trigger
911 webservice calls.
@@ -32,11 +34,11 @@ flag example
3234 default: False
3335
3436library
35− exposed-modules: Servant.JQuery
36− Servant.JQuery.Angular
37− Servant.JQuery.JQuery
38− Servant.JQuery.Vanilla
39− other-modules: Servant.JQuery.Internal
37+ exposed-modules: Servant.JS
38+ Servant.JS.Angular
39+ Servant.JS.JQuery
40+ Servant.JS.Vanilla
41+ other-modules: Servant.JS.Internal
4042 build-depends: base >=4.5 && <5
4143 , charset
4244 , lens >= 4
@@ -62,7 +64,7 @@ executable counter
6264 , filepath
6365 , servant == 0.4.*
6466 , servant-server == 0.4.*
65− , servant-jquery == 0.4.*
67+ , servant-js == 0.4.*
6668 , stm
6769 , transformers
6870 , warp
@@ -76,7 +78,7 @@ test-suite spec
7678 build-depends:
7779 base == 4.*
7880 , lens
79− , servant-jquery
81+ , servant-js
8082 , servant
8183 , hspec >= 2.0
8284 , hspec-expectations