mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
ok getting better
This commit is contained in:
parent
8e8eb4f4a9
commit
e424bc27aa
5 changed files with 96 additions and 111 deletions
|
@ -32,7 +32,6 @@ KeyboardListener.prototype.mute = function() {
|
|||
|
||||
KeyboardListener.prototype.keydown = function(e) {
|
||||
var which = e.which;
|
||||
console.log('key which', which);
|
||||
|
||||
var key = mapKeycodeToKey(which);
|
||||
if (key === undefined) {
|
||||
|
@ -49,3 +48,4 @@ KeyboardListener.prototype.fireEvent = function(eventName) {
|
|||
|
||||
exports.KeyboardListener = KeyboardListener;
|
||||
exports.mapKeycodeToKey = mapKeycodeToKey;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue