Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.3
-
None
-
None
Description
Sample:
ApplicationStateInfo = module.exports.ApplicationStateInfo = function(args) {
this.state = null;
this.substate = null;
if (args) {
if (args.state !== undefined && args.state !== null)
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
Attachments
Issue Links
- relates to
-
THRIFT-3546 NodeJS code should not be namespaced (and is currently not strict-mode compliant)
- Closed