maria icon indicating copy to clipboard operation
maria copied to clipboard

set models do not need to observe each element for delete

Open petermichaux opened this issue 11 years ago • 0 comments

Events bubble. A set model can observe itself for bubbling destroy events. Then check if the original target is a member of the set (not bubbling from deeper in the tree) and remove the item. This will be much simpler than adding and removing destroy listeners on each element in the set.

Same for maria-NodModel plugin.

petermichaux avatar May 04 '13 03:05 petermichaux