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.parent(name);
        this.dept = dept;
    },
    toString: function() {
        return this.parent() + " works in " + this.dept;
    },
    static: {
        methodName: function() {
            // ...
        }
    }
});

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


--~--~---------~--~----~------------~-------~--~----~
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 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to