mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
key refactoring
This commit is contained in:
parent
f71aa87b7d
commit
9ddfaf2f18
3 changed files with 80 additions and 83 deletions
|
@ -2,6 +2,7 @@ var _ = require('underscore');
|
|||
var Backbone = require('backbone');
|
||||
|
||||
var mapKeycodeToKey = function(keycode) {
|
||||
// TODO -- internationalize? Dvorak? I have no idea
|
||||
var keyMap = {
|
||||
37: 'left',
|
||||
38: 'up',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue