()
| 278 | function bindKey(keyCombo, callback, endCallback) { |
| 279 | |
| 280 | function clear() { |
| 281 | if(keys && keys.length) { |
| 282 | var keyBindingGroup = keyBindingGroups[keys.length]; |
| 283 | |
| 284 | if(keyBindingGroup.indexOf(keyBinding) > -1) { |
| 285 | var index = keyBindingGroups[keys.length].indexOf(keyBinding); |
| 286 | keyBindingGroups[keys.length].splice(index, 1); |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | //create an array of combos from the first argument |
| 292 | var bindSets = keyCombo.toLowerCase().replace(/\s/g, '').split(','); |
nothing calls this directly
no outgoing calls
no test coverage detected