I wouldn't mind if this made it into core either.

Allen Madsen
http://www.allenmadsen.com


On Tue, Jan 12, 2010 at 3:21 PM, matti <matti.t.jarvi...@gmail.com> wrote:

> Is there a reason why Prototypejs doesn't fire mutation events
> (
> http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mutationevents-h3
> ) as custom events (like dom:subtreemodified) when using
> Element.update and Element.insert?
>
> I know that browser support for those events are lacking but I'd
> believe that DOMSubtreeModified, DOMNodeInsertedIntoDocument and
> DOMAttrModified would be easy to implement as custom events (or
> simulated as such if browser has support for them) and could add value
> preventing memory leaks on AJAX heavy UIs.
>
> Point in all this would be that it would be easier to handle
> Event.stopObserving.
>
> --
> 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
> prototype-core-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/prototype-core?hl=en
>
-- 
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 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en

Reply via email to