Re: [Proto-Scripty] Why is there a $super-Parameter?

2011-03-18 Thread Luke
Sounds logical ;) No really, thx :) -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptacu

Re: [Proto-Scripty] Why is there a $super-Parameter?

2011-03-18 Thread Ryan Gahl
The answer is quite simple: because it's convenient. Convenience is an interesting thing. You seem to be a logical type, postulating that "there must be something beyond just convenience here," because if it can be done without this construct, why add the construct, right? That takes the human par

Re: [Proto-Scripty] Why is there a $super-Parameter?

2011-03-18 Thread Luke
I'm sorry, what I meant was this.superclass In Prototype's class implementation you can see that if you provide a parent-class in prototype's Class.Create-Method, that class will be referenced as superclass in the class you are creating: function create() { var parent = null, properties =

Re: [Proto-Scripty] Why is there a $super-Parameter?

2011-03-18 Thread Richard Quadling
On 18 March 2011 11:43, Luke wrote: > Hi, > I'm working on my bachelor-thesis and I'm trying to understand a few things. > I'm wondering: Why is there the construct of the $super-parameter in > Prototype's class-implementation? Is anything wrong with calling > this.parent.myfunction()? Why did the