You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/08/22 23:12:35 UTC

[GitHub] Incubatio commented on issue #260: col: 3 警告: public var may not work in minified JS output. Use getter/setter instead.

Incubatio commented on issue #260: col: 3 警告: public var may not work in minified JS output. Use getter/setter instead.
URL: https://github.com/apache/royale-asjs/issues/260#issuecomment-415217208
 
 
   As it was stated public var generates warnings.
   I'm running royale via npm scripts.
   
   Even if the js sources seem to compile fine, npm abruptly interupts the execution just after the compilation. It seems that it returns an error code, either that or npm is misinterpreting it as an error code.
   
   That said adding ```-warn-public-vars=false``` fixed the problem for me.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services