[Prototype-core] Re: Class.from(base) - for real class inheritance ?

2007-09-01 Thread Mislav Marohnić
On 9/1/07, Robert Katić [EMAIL PROTECTED] wrote:


 I suggest this improvement for more correct OOP in Prototype.


We are still discussing and working on subclassing syntax and feature. We
will consider this.

I've also made a patch that enhances the current inheritance system to
inherit class (static) properties, but in a more advanced way that you've
shown here. The ticket is http://dev.rubyonrails.org/ticket/9329. It doesn't
apply cleanly anymore so I have to update it.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Prototype-core] Re: Class.from(base) - for real class inheritance ?

2007-09-01 Thread Robert Katić

Yes I see...
But why you don't permit to override Function.prototype properties in
user classes?

On Sep 1, 10:57 am, Mislav Marohnić [EMAIL PROTECTED]
wrote:
 On 9/1/07, Robert Katić [EMAIL PROTECTED] wrote:



  I suggest this improvement for more correct OOP in Prototype.

 We are still discussing and working on subclassing syntax and feature. We
 will consider this.

 I've also made a patch that enhances the current inheritance system to
 inherit class (static) properties, but in a more advanced way that you've
 shown here. The ticket ishttp://dev.rubyonrails.org/ticket/9329. It doesn't
 apply cleanly anymore so I have to update it.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---