You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't tested this extensively, but splitting it over multiple lines appears to work, eg:
private var apiURL:String = production ?
"http://localhost" :
"http://my.production.site.example.com";
EDIT: I Just ran a test with your specific example and it worked fine for me. Note that I renamed the "production" variable to "isProduction", otherwise it replaces the substring in http://my.production...
The obfuscator breaks on foo?bar:bak. Example:
private static const production:Boolean=true;
private var apiURL:String=production?"http://localhost":"http://my.production.site.example.com";
public function Foo():void
{
}
Leads to
private static const _HLW6Z:Boolean=true;
private var _WLPCE:String=_HLW6Z?"\x68\x74\x74\x70\x3a public function _ZYM4a():void
{
}
The text was updated successfully, but these errors were encountered: