You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Benjamin Gould (JIRA)" <ji...@apache.org> on 2016/10/06 19:10:20 UTC

[jira] [Commented] (THRIFT-3410) Support for 'use strict' in generated javascript code

    [ https://issues.apache.org/jira/browse/THRIFT-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552867#comment-15552867 ] 

Benjamin Gould commented on THRIFT-3410:
----------------------------------------

THRIFT-3546 solves this for node.js/browserify, likely still broken for Typescript and browser JS however

> Support for 'use strict' in generated javascript code
> -----------------------------------------------------
>
>                 Key: THRIFT-3410
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3410
>             Project: Thrift
>          Issue Type: Improvement
>          Components: JavaScript - Compiler
>    Affects Versions: 0.9.3
>            Reporter: Mateus Chagas Sousa
>            Priority: Minor
>              Labels: easyfix, javascript, js, node.js, strict, var
>
> Generated structs in javascript aren't compatible with strict mode cause they are declared as global variables instead of being declared using the _var_ keyword.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)