[ https://issues.apache.org/jira/browse/THRIFT-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Gould reassigned THRIFT-3835: -------------------------------------- Assignee: Benjamin Gould > Thrift generates javascript code for node js with error > ------------------------------------------------------- > > Key: THRIFT-3835 > URL: https://issues.apache.org/jira/browse/THRIFT-3835 > Project: Thrift > Issue Type: Bug > Components: Node.js - Compiler > Affects Versions: 0.9.3 > Reporter: Alexander Pertsovsky > Assignee: Benjamin Gould > > Sample: > ApplicationStateInfo = module.exports.ApplicationStateInfo = function(args) { > this.state = null; > this.substate = null; > if (args) { > if (args.state !== undefined && args.state !== null) { > this.state = args.state; > } > if (args.substate !== undefined && args.substate !== null) { > this.substate = args.substate; > } > } > module.exports.ApplicationStateInfo returns undefined => it cannot used with > e.g. babel in node js -- This message was sent by Atlassian JIRA (v6.3.4#6332)