Fixed jshint warnings

This commit is contained in:
juliandescottes 2012-09-14 23:47:05 +02:00
parent 2edda09f08
commit 26dc185bca

View File

@ -26,8 +26,6 @@
}
};
ns.KeyManager.prototype.onKeyUp_ = function(evt) {
var isMac = false;
if (navigator.appVersion.indexOf("Mac")!=-1) {
@ -39,11 +37,11 @@
// Get key pressed:
var letter = this.CharCodeToKeyCodeMap[evt.which];
if(letter) {
var eventToTrigger = this.KeyboardActions["ctrl"][letter];
var eventToTrigger = this.KeyboardActions.ctrl[letter];
if(eventToTrigger) {
$.publish(eventToTrigger);
}
};
}
}
};