It's really topnotch.
I'm already use it ;-)
But what about the static methods and properties?
I would like to do something like this:

Employee = Class.extend(Person, {
    initialize: function(name, dept) {
        this.dept = dept;
    toString: function() {
        return this.parent() + " works in " + this.dept;
    static: {
        methodName: function() {
            // ...

var joe = new Employee("Joe", "Sales");

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

Reply via email to