On 6/25/07, Tobie Langel <[EMAIL PROTECTED]> wrote:
> > "initialize" is reserved, why not "extends" too - allowing the "Class"
> > > constructor to automatically extend the new class by just looking at
> > > the content of "extends".
> That's an interesting idea, Just rewrote below to better match the
> rest of the syntax. Any pros/cons ?
> var Cow = new Class({
>      Extend: Animal,
>      Include: [Eatable, Breedable],
>      initialize: ..
> });

Yes, keep it lower-case and add an "s" so it reads better :)
Cow-Class "extends" Animal (and) "includes" Eatable, Breadable ...

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 

Reply via email to