Re: inflate/deflate

2016-10-31 Thread PKumar
I used with my custom custom for AMFJS integration and it works ok. check below code: public class AMFJS { /** * * * */ public function AMFJS()

Re: inflate/deflate

2016-10-31 Thread Harbs
Good to know. I’ll probably be trying it in the next few days. On Oct 31, 2016, at 5:10 PM, Alex Harui wrote: > > > On 10/31/16, 8:02 AM, "Harbs" wrote: > >> is used in classes which subclass Application. How would it >> work for classes which might be used in multiple locations in an app?

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Alex Harui
On 10/31/16, 8:36 AM, "Christofer Dutz" wrote: >Hi Alex, > >Well I had another look at the original code. Seems I have to include >that commented out line again as this copies the content of closure-lib >into the debug-js directory. This should only be executed in Ant builds. I would think the

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Christofer Dutz
Hi Alex, Well I had another look at the original code. Seems I have to include that commented out line again as this copies the content of closure-lib into the debug-js directory. This should only be executed in Ant builds. I’ll look into this ... currently I’m finishing up the distribution (gen

Re: inflate/deflate

2016-10-31 Thread Alex Harui
On 10/31/16, 8:02 AM, "Harbs" wrote: > is used in classes which subclass Application. How would it >work for classes which might be used in multiple locations in an app? works for any class, not just Application. > >For example, if I want to implement a BinaryData.inflate() (in a subclass >o

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Alex Harui
On 10/31/16, 8:01 AM, "Christofer Dutz" wrote: >Hi Alex, > >thanks for your responses. Well I made it check the closureLib as I >wanted to allow users to specify that if they wanted to monkey-patch >stuff. In looking into the Ant scripts, closure-lib is being set. Did setting closureLib resul

Re: inflate/deflate

2016-10-31 Thread Harbs
is used in classes which subclass Application. How would it work for classes which might be used in multiple locations in an app? For example, if I want to implement a BinaryData.inflate() (in a subclass or utility class) how could I use and be sure it will be injected once and only once? On

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Christofer Dutz
Hi Alex, thanks for your responses. Well I made it check the closureLib as I wanted to allow users to specify that if they wanted to monkey-patch stuff. Well for now I removed the VF2JS stuff in my branch. I think I remember us discussing that and that consensus was to remove the code. At leas

Re: [FlexJS] Some compiler-related question

2016-10-31 Thread Alex Harui
On 10/31/16, 5:52 AM, "Christofer Dutz" wrote: >Hi, > >I am currently digging through the compiler trying to understand it a >little better. >I noticed a lot of places that need some cleaning up. And I noticed a lot >of obviously dead code. I do have some questions and I will continue to >ask t

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Alex Harui
On 10/31/16, 1:14 AM, "Christofer Dutz" wrote: >My optimization should have an effect if the closureLib is NOT explicitly >set and the file „goog/deps.js“ is found on the compilers classpath. This >is probably only the case for Maven builds. I think closureLib is sometimes set for me. Any rea

Re: inflate/deflate

2016-10-31 Thread Alex Harui
On 10/30/16, 7:24 AM, "Harbs" wrote: > >I’m not sure whether to do an ActionScript port of one of these >libraries, or just link to the original JS library. The advantage of >linking is that it can be linked to a CDN to make downloads smaller. >i.e.[4] > >Is there a standardized way of integrat

[FlexJS] Some compiler-related question

2016-10-31 Thread Christofer Dutz
Hi, I am currently digging through the compiler trying to understand it a little better. I noticed a lot of places that need some cleaning up. And I noticed a lot of obviously dead code. I do have some questions and I will continue to ask them while I encounter them. Currently I have these: -

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Christofer Dutz
Well as a good starting point I would like to point you to the training video Justin and I did: https://vimeo.com/167857327/da3e3239bc I guess it should be beneficial to understand how Maven thinks a little, no matter if you are planning on working on the build itself or if you are just using i

Re: [FlexJS] Optimizing the maven build ... success ...

2016-10-31 Thread Christofer Dutz
My optimization should have an effect if the closureLib is NOT explicitly set and the file „goog/deps.js“ is found on the compilers classpath. This is probably only the case for Maven builds. I am currently working on cleaning up the MXMLFlexJSPublisher as I noticed a lot of things were done qui