nl_tokens: Removes all items currently in the Container optionally destroying them all .
pl_tokens: function ( destroy , everything ) { var items = this . <mask> , ln = items . length , i = 0 , item ; if ( typeof destroy != 'boolean' ) { destroy = this . getAutoDestroy ( ) ; } everything = Boolean ( everything ) ; // removingAll flag is used so we don't unnecessarily change activeItem while removing all items. this . removingAll = true ; for ( ; i < ln ; i ++ ) { item = items . getAt ( i ) ; if ( item && ( everything || item . isInnerItem ( ) ) ) { this . doRemove ( item , i , destroy ) ; i -- ; ln -- ; } } this . setActiveItem ( null ) ; this . removingAll = false ; return this ; }