nl_tokens: You must call destroy on a view to destroy the view ( and all of its child views ) . This will remove the view from any parent node then make sure that the DOM element managed by the view can be released by the memory manager .
pl_tokens: function ( ) { var childViews = this . _childViews , // get parentView before calling super because it'll be destroyed nonVirtualParentView = get ( this , 'parentView' ) , viewName = this . viewName , childLen , i ; if ( ! this . _super ( ) ) { return ; } childLen = childViews . length ; for ( i = childLen - 1 ; i >= 0 ; i -- ) { childViews [ i ] . removedFromDOM = <mask> ; } // remove from non-virtual parent view if viewName was specified if ( viewName && nonVirtualParentView ) { nonVirtualParentView . set ( viewName , null ) ; } childLen = childViews . length ; for ( i = childLen - 1 ; i >= 0 ; i -- ) { childViews [ i ] . destroy ( ) ; } return this ; }