Oh boy... what happened to the principle of least surprise? :)
I can invoke the superclass constructor by adding this line:
Animal.prototype.initialize.apply(arguments);
But, shouldn't have to do this or use $super(name). The superclass
constructor should be called automatically (as in Dojo
On Sep 20, 3:35 pm, Les Szklanny [EMAIL PROTECTED] wrote:
Oh boy... what happened to the principle of least surprise? :)
People will be surprised by different things. I'd be surprised if it
were called by default (PHP doesn't do that...)- how would stopping it
work?
Greg