[ 
https://issues.apache.org/jira/browse/THRIFT-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Randy Abernethy updated THRIFT-2190:
------------------------------------

    Attachment: 0001-Setup-grunt-and-package.json-project-for-browser-thr.patch

This patch provides a Gruntfile.js and package.json for the JavaScript browser 
lib. The patch also provides jsdoc comments in thrift.js, fixes several jshint 
warnings and a failure on the final test.html async exception test. "npm 
install" configures all of the grunt dependencies and grunt will build 
thrift.js and a minified version, runs jshint, qunit and builds jsdoc docs. 
This project configuration will make it easier to create unit tests, segregate 
the dev sources into multiple files, etc. The build emits a dist directory 
suitable for Bower distribution. Down the road this could integrate nicely with 
the node JavaScript libs (would be nice to change out the Java test server for 
a node test server).
                
> Add the JavaScript thrift.js lib to the Bower registry
> ------------------------------------------------------
>
>                 Key: THRIFT-2190
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2190
>             Project: Thrift
>          Issue Type: Wish
>          Components: JavaScript - Library
>    Affects Versions: 1.0
>            Reporter: Randy Abernethy
>            Priority: Minor
>         Attachments: 
> 0001-Setup-grunt-and-package.json-project-for-browser-thr.patch
>
>
> Grunt/Bower/Yeoman appear to have the wind at their back. Would be great for 
> front end JavaScript developers to be able to bower install thrift.
> http://bower.io/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to