code: function() {
          for (var i = 0, length = this.children.length; i < length; i++) {
            this.children[i].destroy();
          }
  
          this.children = [];
  
          eachDestroyable(this, function(item) {
            item.destroy();
          });
  
          this.parent = undefined;
          this.isDestroyed = true;
        }
docs: A depth first traversal, destroying the container, its descendant containers and all
  their managed objects.
  
  @method destroy