incubator-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: [ASJS] Adjusting FalconJS output (no general discussion in this thread, please)
Date Fri, 07 Dec 2012 20:14:05 GMT
Correct on the first one [1].

On the second one, I would tentatively say "no, it doesn't have to be
there"... but a definitive answer might require some more research.

EdB

1: https://cwiki.apache.org/confluence/display/FLEX/AS+to+JS+translation+table


On Fri, Dec 7, 2012 at 8:45 PM, Michael Schmalle
<apache@teotigraphix.com> wrote:
>
> Quoting Erik de Bruin <erik@ixsoftware.nl>:
>
>> In GC, in combination with the way we set up inheritance, 'super()' is
>> 'goog.base()': [1]
>>
>> If called from the constructor - as we already implemented - 'this' is
>> the only argument.
>>
>> If calling a super method, use 'goog.base(this, "methodName", args)'
>>
>> EdB
>>
>> 1:
>> http://closure-library.googlecode.com/svn/docs/closure_goog_base.js.html
>
>
> Ok that makes sense, I'm guessing that if a class extends Object, nothing is
> present correct?
>
> What about a subclass that does not call super, does goog.base() still need
> to be there?
>
> Mike
>
>
>>
>> On Fri, Dec 7, 2012 at 8:26 PM, Michael Schmalle
>> <apache@teotigraphix.com> wrote:
>>>
>>> After doing some more research, the super() implementation in general is
>>> a
>>> rats nest that needs to be figured out.
>>>
>>> Can someone give me the rules as to how super works with GC? If it's not
>>> present etc, is super.myMethod() allowed?
>>>
>>> Mike
>>>
>
>
> --
> Michael Schmalle - Teoti Graphix, LLC
> http://www.teotigraphix.com
> http://blog.teotigraphix.com
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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

Mime
View raw message