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:22:00 UTC

[jira] [Resolved] (THRIFT-5163) adds Q to exports for browserify

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

Jens Geyer resolved THRIFT-5163.
--------------------------------
    Fix Version/s: 0.14.0
         Assignee: Jens Geyer
       Resolution: Fixed

> 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
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.14.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)