* callback to increase the sequence level for this sequence and reset * all other sequences that were active * * @param {string} nextAction * @returns {Function}
(nextAction)
| 668 | * @returns {Function} |
| 669 | */ |
| 670 | function _increaseSequence(nextAction) { |
| 671 | return function() { |
| 672 | _nextExpectedAction = nextAction; |
| 673 | ++_sequenceLevels[combo]; |
| 674 | _resetSequenceTimer(); |
| 675 | }; |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * wraps the specified callback inside of another function in order |
no test coverage detected