arturadib/agility — Issue #57: destroy() does not propagate through children
Author: tristanls
Created: 2011-11-17 14:38:58+00:00
State: open

Hey @arturadib, I noticed that the destroy event isn't propagated to the children, so if I have a hierarchy like so

```javascript
var child = $$( );
var parent = $$( );
var grandparent = $$( );

grandparent.append( parent );

parent.append( child );
```

then when I call `grandparent.destroy()`, the `destroy` event is never triggered for the `child`. Is there a specific design reason for this? I'm running into children not removing themselves as listeners, even though I thought they were being destroyed.