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 = $A(arguments);
    if (Object.isFunction(properties[0]))
      parent = properties.shift();

    // ...

    klass.superclass = parent;

    // ...

    return klass;
  }


why not just use this.superclass.method in the subclass?

-- 
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-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to