Commit graph

18 commits

Author SHA1 Message Date
Maksymilian Owsianny
721151a32d Added default NoTypes parameter for dynamic languages. 2015-12-02 15:56:56 +00:00
Maksymilian Owsianny
0c0c382ae6 Fix broken servant-js tests. 2015-12-02 13:22:01 +00:00
Maksymilian Owsianny
2d8db45907 Moved GenerateList to servant-foreign. 2015-12-02 11:21:37 +00:00
Maksymilian Owsianny
69f09f2622 Added lang parameter. 2015-11-29 04:53:50 +00:00
Maksymilian Owsianny
0b37222733 Fix servant-js based on changes to servant-foreign. 2015-11-28 08:24:55 +00:00
Matt Bray
f2a91cfb1f servant-js: export CommonGeneratorOptions constructors
Allow defCommonGeneratorOptions to be customized using record update
syntax.

Without the re-export, we can't do:

```
import qualified Servant.JS as SJS

myOptions =
  SJS.defCommonGeneratorOptions
    { SJS.moduleName = "myModule"
    , SJS.urlPrefix = "http://localhost"
    }
```
2015-11-04 10:11:36 +00:00
Arian van Putten
984a76f0f8 Remove redundant comments 2015-10-04 23:27:28 +02:00
Arian van Putten
a62441077e Convert servant-js to use text. 2015-10-02 13:59:54 +02:00
Denis Redozubov
ce3e4f7193 Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
Julian K. Arni
6eb7add53a stylish haskell changes
And import fix.
2015-08-18 00:07:12 +02:00
Freezeboy
b769ddc32b Fix GenerateList to let the API be nested 2015-08-05 21:01:33 +02:00
Alp Mestanogullari
3dc304b8d7 Merge pull request #173 from freezeboy/axios
servant-js: Add support for the Axios JS library
2015-07-29 14:10:41 +02:00
Freezeboy
ef13160d8b Rename functionRenamer and default to CameCase 2015-07-28 16:41:07 +02:00
Freezeboy
60d94be0e9 Add a configuration mapping to Axios 2015-07-28 15:06:00 +02:00
Freezeboy
4362112f31 Add preliminary Axios support 2015-07-27 16:29:08 +02:00
Freezeboy
c01ad63112 Replace functionName with an array, and use functionRenamer to build the real function name 2015-07-27 13:55:30 +02:00
Alp Mestanogullari
a2a4665951 clean up servant-js significantly, simplify the API of the library a lot and document @freezeboy's sweet generators from #159 a bit in the main module of the library, Servant.JS along with how people should use the library. 2015-07-22 19:25:02 +02:00
Alp Mestanogullari
eabf13ebdb rename servant-jquery to servant-js, Servant.JQuery to Servant.JS 2015-07-22 19:25:02 +02:00
Renamed from servant-jquery/src/Servant/JQuery.hs (Browse further)