(code)
| 45 | } |
| 46 | |
| 47 | function keyFromCode(code) { |
| 48 | const map = { |
| 49 | 9: 'Tab' |
| 50 | }; |
| 51 | return map[code] || String.fromCharCode(code); |
| 52 | } |
| 53 | |
| 54 | function initKeyboardShortcuts() { |
| 55 | const layer = document.getElementById('keyboard-shortcuts-layer'); |
no outgoing calls
no test coverage detected