Jens Geyer created THRIFT-5163:
----------------------------------
Summary: adds Q to exports for browserify
Key: THRIFT-5163
URL: https://issues.apache.org/jira/browse/THRIFT-5163
Project: Thrift
Issue Type: Improvement
Components: Node.js - Library
Reporter: Jens Geyer
>From pull request:
{quote}
NodeJS: adds Q to exports for browserify
When using the Node.js libs in the browser (via browser.js) Q isn't
exposed the same way as it is in a Node environment. If I try to call
an API function without a callback function it will throw the following
exception: TypeError: Cannot read property 'defer' of undefined. This
just adds Q to the exports in browser.js to make consuming the libs
more consistent with how we do in an actual Node environment.
{quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)