File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class RandomRoundRobin extends RoundRobin {
5252 }
5353
5454 if ( this . _currentTurn && this . _currentTurn . key === key ) {
55- this . _currentTurn = this . _selectNextItem ( ) ;
55+ this . _currentTurn = this . _nextTurn ( ) ;
5656 if ( this . _currentTurn === null ) {
5757 this . _completedRounds += 1 ;
5858 }
@@ -67,7 +67,7 @@ class RandomRoundRobin extends RoundRobin {
6767 * @public
6868 * @return {object }
6969 */
70- _selectNextItem ( ) {
70+ _nextTurn ( ) {
7171 if ( this . _currentTurn === null ) {
7272 this . _round = new Set ( Array . from ( this . _items . keys ( ) ) ) ;
7373 }
@@ -93,11 +93,11 @@ class RandomRoundRobin extends RoundRobin {
9393 }
9494
9595 if ( this . _currentTurn === null ) {
96- this . _currentTurn = this . _selectNextItem ( ) ;
96+ this . _currentTurn = this . _nextTurn ( ) ;
9797 }
9898
9999 const item = this . _currentTurn ;
100- this . _currentTurn = this . _selectNextItem ( ) ;
100+ this . _currentTurn = this . _nextTurn ( ) ;
101101 if ( this . _currentTurn === null ) {
102102 this . _completedRounds += 1 ;
103103 }
You can’t perform that action at this time.
0 commit comments