Re: Slider Component

2017-12-14 Thread Justin Mclean
HI, Look like the new slider code has introduced a few new issues and one in particular in easily discoverable by users [1]. Can someone take a look at this PR please. [2] Thanks, Justin 1. https://github.com/apache/royale-asjs/issues/102 2. https://github.com/apache/royale-asjs/pull/104

Re: MXML attributes, minification, and initialization

2017-12-14 Thread Alex Harui
I believe that as long as we use @export we can do both. However, @export does not work for simple vars. Again, @export does not prevent renaming, it creates an alias/reference. -Alex On 12/14/17, 4:54 AM, "Yishay Weiss" wrote: >Are we using bracket notation for mxml

Re: Repos and Releases

2017-12-14 Thread Alex Harui
I found this article [1]. Most of our launch scripts are already using Ant, so Ant might be part of the solution. Ignoring the answers that hardcode a path, the others use some interesting techniques that may or may not work for us. For example, one answer uses Ant's

RE: MXML attributes, minification, and initialization

2017-12-14 Thread Yishay Weiss
Are we using bracket notation for mxml initialization? If so, it looks like we’re breaking a rule [1]: The examples you linked use both dot-syntax and quoted strings to access components.MyComp.prototype.myProp/myComp["myProp"]. This violates a compiler assumption in advanced optimizations

RE: Repos and Releases

2017-12-14 Thread Yishay Weiss
I added it, but I haven’t been able to figure out the default browser location. Posted a question on the Eclipse forum. For now, users will need to manually fix the launch script by replacing $PATH_TO_BROWSER. >I've thought about doing something like that, but personally don't want to >deal

Re: Repos and Releases

2017-12-14 Thread Alex Harui
Regarding code completion, there is an issue with FB's additional compiler options. FB uses is own (now old) version of the ASC2.0 compiler for code-assist and new compiler options we've added for Royale blow up ASC2.0 and causes code-assist to fail. It looks like you can add Royale-only

Re: Repos and Releases

2017-12-14 Thread Alex Harui
I've thought about doing something like that, but personally don't want to deal with figuring out which browser to launch. It'd be great if you want to take that on. Regarding not building when launching, please make sure the "Convert..." scripts still work if you add that attribute to those

RE: Repos and Releases

2017-12-14 Thread Yishay Weiss
I’ll try to add something. Can’t hurt. >I wonder if we should include a launch cofiguration [2] for showing it in the >browser. [1] https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7 [2]

Re: Repos and Releases

2017-12-14 Thread Alex Harui
The asjsc sets configname to "js". It is not configured to compile with the Royale Framework. It is only for raw AS->JS transpiling. Apps that use the Royale framework should use mxmlc. HTH, -Alex On 12/13/17, 11:53 PM, "Yishay Weiss" wrote: >Code completion in FB