( silence === assent, so if you aren't interested in this project just ignore, sorry for the spam )
I'd like feedback on this issue, so I'm tagging the current set of contributors to see if people have opinions:
I've done a bit of work to move this project over to es6 and the babel transpiler in the babel branch.
There are two key use cases for this library - writing scripts in node, and for use in web pages. There is a third smaller use case - for use in Firefox extensions. Moving to es6 is more of a 'new things are nice' move, but it was pretty straightforward. Shimming node / jetpack is nice, and the big change was bringing over Jame's work to change the client to use the rest endpoint instead of bzapi.
By moving to babel and a gulp-based build system I've implemented a very simple attempt at this:
- get and post requests are abstracted in the xhr module which proxies either the SDK's request module or node's request module.
- browserify produces a browser-compatible and bundled js file for browsers.
The current state is that basic things work but I haven't tested all functionality. I intend to port Heather's testing code and make it easier for people to contribute to this going forward, and fix any remaining bugs ( in particular auth issues that may crop up ).
( silence === assent, so if you aren't interested in this project just ignore, sorry for the spam )
I'd like feedback on this issue, so I'm tagging the current set of contributors to see if people have opinions:
I've done a bit of work to move this project over to es6 and the babel transpiler in the babel branch.
There are two key use cases for this library - writing scripts in node, and for use in web pages. There is a third smaller use case - for use in Firefox extensions. Moving to es6 is more of a 'new things are nice' move, but it was pretty straightforward. Shimming node / jetpack is nice, and the big change was bringing over Jame's work to change the client to use the rest endpoint instead of bzapi.
By moving to babel and a gulp-based build system I've implemented a very simple attempt at this:
The current state is that basic things work but I haven't tested all functionality. I intend to port Heather's testing code and make it easier for people to contribute to this going forward, and fix any remaining bugs ( in particular auth issues that may crop up ).