Re: [royale-asjs] branch feature/revert-refactor updated: Fixes #261. Untyped members need to be surrounded with quotes.

2018-06-18 Thread Carlos Rovira
Ok Yishay, HTMLDialogElement was already there when I try to use, I was referring to "dialogPolyFill" that is in "missing.js" and was needed to make Dialog.as. But I see is was changed at some time to bracket expression, don't know why ProgressBar was done by Piotr, maybe he could throw more

Re: Migrating Enterprise Flex Application

2018-06-18 Thread Piotr Zarzycki
Hi Sajith, I think ROYALE_COMPILER_HOME should point to C:/devenv/apache-roylale/royale-asjs. However I'm not sure how gradle actually is working. Try and let me know what is the output. Thanks, Piotr pon., 18 cze 2018 o 13:34 chembali napisał(a): > Hi Piotr, > > Thank you for your help on

Re: Migrating Enterprise Flex Application

2018-06-18 Thread chembali
Hi Piotr, Thank you for your help on this. I was trying to generate the API report but running into some issues. I used ant/InstallAdobeSDKs.xml and installed the royale-asjs. We use gradle scripts ( which in turn uses the ant tasks ) to build the application including the flex portion. I

RE: [royale-asjs] branch feature/revert-refactor updated: Fixes #261. Untyped members need to be surrounded with quotes.

2018-06-18 Thread Yishay Weiss
Hi Carlos, If you look at ProgressBar.as:61 you’ll see private var materialProgress:Object; this is the raw mdl object that ProgressBar wraps. When you call a method on that wrapped object, e.g. materialProgress.setProgress(value); the transpiled minified code

Re: [royale-asjs] branch feature/revert-refactor updated: Fixes #261. Untyped members need to be surrounded with quotes.

2018-06-18 Thread Carlos Rovira
Hi Yishay, I planned MDL like a wrapper of existing JS/CSS MDL functionality. I found in that way that I need Dialog polyfill so I added to typedefs. Didn't need anymore at that time. So can you put some example of what you propose in order to understand better the need of typedefs for raw mdl

Re: [royale-asjs] branch feature/revert-refactor updated: Fixes #261. Untyped members need to be surrounded with quotes.

2018-06-18 Thread Alex Harui
On 6/17/18, 10:54 PM, "Yishay Weiss" wrote: Out of curiosity, why are there no type defs for raw mdl components? Don’t know. Some JS frameworks are not strongly-typed so they don't lend themselves to having typedefs. The only reason I mentioned this is because we have new folks