On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> B.prototype.f1= function(){ /*How call f1 from prototype A?*/}

B.prototype.f1= function(){A.prototype.f1.call(this)}

It's nasty, but works if f1 is from prototype of A but not from the
constructor of A.

Maybe every Ajax framework provide their own super call based on this
trick, but some are buggy, such as DC's uber (see
http://johnhax.blogspot.com/2006/12/bug-of-douglas-crockfords-uber.html).
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to