MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / _bindMultiple

Function _bindMultiple

client/vendors/mousetrap.js:841–845  ·  view source on GitHub ↗

* binds multiple combinations to the same callback * * @param {Array} combinations * @param {Function} callback * @param {string|undefined} action * @returns void

(combinations, callback, action)

Source from the content-addressed store, hash-verified

839 * @returns void
840 */
841 function _bindMultiple(combinations, callback, action) {
842 for (var i = 0; i < combinations.length; ++i) {
843 _bindSingle(combinations[i], callback, action);
844 }
845 }
846
847 // start!
848 _addEvent(document, 'keypress', _handleKeyEvent);

Callers 1

mousetrap.jsFile · 0.85

Calls 1

_bindSingleFunction · 0.85

Tested by

no test coverage detected