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

2007-07-01 Thread DK
On Jun 29, 8:22 pm, Tobie Langel [EMAIL PROTECTED] wrote: How is Class a constructor ? Constructor in JavaScript is a function, which called with var someObject = new someFunction(); returns an object, which behaves similar to all objects created the same way. So in my implementation (as in

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

2007-07-01 Thread DK
On Jun 29, 8:22 pm, Tobie Langel [EMAIL PROTECTED] wrote: Properties applied to it's prototype aren't available on the instances. My implementation breaks this 'chain' (properties from 'prototype' accessible in objects created by 'new'), so I had to recreate it myself. PS. Sorry for my