[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 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 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[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,


--~--~-~--~~~---~--~~
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 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---