public/lib/emberjs/ember.js
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;
      }
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;
      }
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 ; }
A depth first traversal, destroying the container, its descendant containers and all
their managed objects.

@method destroy
A depth first traversal destroying the container its descendant containers and all their managed objects .