On 9/16/15, 1:13 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:

>> Yeah, like several of the interfaces.  But I’ve commented them out of
>>the
>> project right now and am just trying to get Application and all of its
>> dependencies to compile.
>
>My guess is it won't be easy in as3 to express some of the GCL calls
>though without the lib

I’m interested to see what you put in GCL.swc.  I created a few stubs for
the calls I needed and also changed the compiler so it will allow
goog.events.fireListener to be a class called goog.events with a
fireListener member and not fail by assuming goog.events was a package and
not finding the fireListener class.

Also, I observed that in HTMLElementWrapper, the element is typed as
EventTarget, but I think we’ll need to create a class like FlexHTMLElement
that adds flexjs_wrapper to an HTMLElement.  That’s interesting because it
means we won’t be able to do a straight port if we want more type-safety
from the compiler.  Instead we’ll have to create some new utilities
classes.

I’m done for today.  Will spend more time on it tomorrow.

-Alex

>
>Frédéric THOMAS
>
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: [FlexJS] Framework using externs (was: Setup Error)
>> Date: Wed, 16 Sep 2015 19:59:57 +0000
>> 
>> 
>> 
>> On 9/16/15, 12:55 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>> 
>> >> I started out by trying to compile every AS file in Core with
>> >
>> >
>> >> COMPILE::AS3,false and got lots of errors.
>> >
>> >Are you talking about the ones not making use of the GCL.swc and having
>> >no dependencies with the ones which use it ?
>> 
>> Yeah, like several of the interfaces.  But I’ve commented them out of
>>the
>> project right now and am just trying to get Application and all of its
>> dependencies to compile.
>> 
>> -Alex
>>                                        
>> 
>                                         

Reply via email to