thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (THRIFT-5163) adds Q to exports for browserify
Date Fri, 03 Apr 2020 00:22:00 GMT

     [ 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)

Mime
View raw message