[Prototype-core] Re: Inheritance: your thoughts?

2007-08-24 Thread Alex Arnell
Here is a Pastie link to a concrete example. http://pastie.textmate.org/90584 Alex Arnell PS. Sorry, I forgot to start new thread when I started these replies. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Prototype-core] Re: Inheritance: your thoughts?

2007-08-23 Thread Alex Arnell
to implement this into trunk right now (hopefully the diff comes through somewhat readable). All it takes is a single line of code to make Ben's example work. I'll try and post a nice real world example in a follow up post, unless I am beaten to the punch. Cheers, Alex Arnell Index: base.js

[Prototype-core] Re: Inheritance: your thoughts?

2007-07-11 Thread Alex Arnell
On Jul 11, 10:18 am, Jeff Watkins [EMAIL PROTECTED] wrote: Alex, I like the class definition function method with the exception of returning a hash. It seems like it ought to be one way or the other. But then, I've never had any problem just going long-hand with my class definitions.

[Prototype-core] Re: Inheritance: your thoughts?

2007-07-10 Thread Alex Arnell
1. Does the current API make sense? Was there anything about it that surprised you? Anything you'd add or remove? Personally I am quite fond of the current API (for obvious reasons). I especially like Class.add addition, although I think it might make more sense represented as Class.reopen