MCPcopy Create free account
hub / github.com/CodeboxIDE/codebox / _increaseSequence

Function _increaseSequence

client/vendors/mousetrap.js:670–676  ·  view source on GitHub ↗

* callback to increase the sequence level for this sequence and reset * all other sequences that were active * * @param {string} nextAction * @returns {Function}

(nextAction)

Source from the content-addressed store, hash-verified

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

Callers 1

_bindSequenceFunction · 0.85

Calls 1

_resetSequenceTimerFunction · 0.85

Tested by

no test coverage detected