flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik de Bruin <e...@ixsoftware.nl>
Subject Re: [FlexJS] Handling chrome elements
Date Mon, 29 Jul 2013 06:43:43 GMT
>> >Also IChrome (looks like a Marker Interface) could lead to a subtle
>> >problem
>> >on the JS side.  I have not been following the conversation on how to deal
>> >with Interfaces on the JS side.  If we are planning on using 'duck
>> >typing',
>> >then we could run into issues with empty interfaces.  Or am I missing
>> >something here?
>> I'm not sure what we'll end up doing for interfaces on JS.  It looks like
>> some compiler code expects to list interfaces in an $implements property
>> object.
>>
>
> Can someone shine some light on this?  Erik, Michael?

Interfaces on the JS side are implemented for the Closure Compiler
using the @interface for declaration and the @implements JSDoc
annotation. FalconJx knows about this, so - with caution and testing -
you should be able to approach interfaces the same in JS as in AS.

Let me know if I can help out with some example code or something.
Also, if you run into problems, I can alway crack open FalconJx and
create the solution you would like to see.

EdB



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Mime
View raw message