You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/04/03 00:17:00 UTC
[jira] [Created] (THRIFT-5163) adds Q to exports for browserify
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)