[Prototype-core] protopacked

2008-01-28 Thread Roland
'...return||function...'.split(|); Is this essential for the indexing? Or can i remove the overused | --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To

[Prototype-core] Event.observe

2007-09-14 Thread Roland
Hi there, Events can be attached multiple times to the same element.. is there a way to prevent this? Something like ... if(!$(el).hasEventAttached()) Event.observe($(el), 'click', function()); ... would be great Any way to achieve this? Roland