nl_tokens: Remove all items in the collection . Can also be used to remove only the items in the passed array .
pl_tokens: function ( items ) { var me = this , i ; if ( items || me . hasListeners . remove ) { // Only perform expensive item-by-item removal if there's a listener or specific items if ( items ) { for ( i = items . length - 1 ; i >= 0 ; -- i ) { me . remove ( items [ i ] ) ; } } else { while ( me . length ) { me . removeAt ( 0 ) ; } } } else { me . length = me . items . length = me . <mask> . length = 0 ; me . map = { } ; me . indexMap = { } ; me . generation ++ ; me . indexGeneration = me . generation ; } }