[Prototype-core] Adding a Class.extend()

2007-07-13 Thread Frederic Gaus
Hi! Just found the following: http://wanderingken.com/2006/04/01/extending-prototype-classextend In my opinion this is something really useful and as far a I know, this is missing in prototype so far. What do you think? Best Frederic -- Frederic Gaus pgp-key:

[Prototype-core] Re: Event.observe will destroy the scope of Javascript OOP?

2007-07-13 Thread Andrew Dupont
This will nonetheless be fixed in Prototype 1.6 -- Event.observe will automatically "fix" scope. Cheers, Andrew On Jul 13, 12:42 am, Paladin <[EMAIL PROTECTED]> wrote: > Thanks. Sometimes when bugs pop out it's really difficult to tell > where they come from.=) > > On Jul 12, 4:46 pm, jdalton <[

[Prototype-core] Assigning an unique ID

2007-07-13 Thread Jeff Watkins
One of the things we do very frequently is assign unique IDs to elements for faster access later. Of course, this is really simple and I'm wondering whether it would make a good addition to the Element suite of methods: Element.Methods.assignId = function(element) { element= $(