* binds multiple combinations to the same callback * * @param {Array} combinations * @param {Function} callback * @param {string|undefined} action * @returns void
(combinations, callback, action)
| 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); |
no test coverage detected