I'm Dreaming of White Spaces

This commit is contained in:
Jeff Parsons 2016-12-18 15:05:41 -08:00 committed by Jeff Parsons
commit 772bd39543
9 changed files with 27 additions and 27 deletions

View file

@ -1043,7 +1043,7 @@ Keyboard.prototype.setBinding = function(sHTMLType, sBinding, control, sValue)
kbd.addActiveKey(simCode);
};
}(this, sBinding, Keyboard.SOFTCODES[sBinding]);
var fnUp = function (kbd, sKey, simCode) {
var fnUp = function(kbd, sKey, simCode) {
return function onKeyboardBindingUp(event) {
kbd.removeActiveKey(simCode);
};
@ -1655,7 +1655,7 @@ Keyboard.prototype.injectKeysFromBuffer = function(msDelay)
this.addActiveKey(ch, true);
}
if (this.sInjectBuffer.length > 0) {
setTimeout(function (kbd) {
setTimeout(function(kbd) {
return function onInjectKeyTimeout() {
kbd.injectKeysFromBuffer(msDelay);
};