On 9/20/07, Les Szklanny <[EMAIL PROTECTED]> wrote:
> But, shouldn't have to do this or use $super(name).  The superclass
> constructor should be called automatically (as in Dojo for example).

We have modeled OOP support in Prototype based on the most traditional
inheritance model. Most of the users don't expect overridden constructors to
be called automatically. If you want to call the superclass constructor, you
must use $super (please don't do Foo.prototype.bar.apply anymore) - that
also works with any other method in your classes.

So, thanks for the suggestion, but we're keeping constructors this way.

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to