Repair variable declarations bug

pull/11/head
jaywcjlove 8 years ago
parent ce63853997
commit db161b3e60

@ -41,7 +41,7 @@ code = function(x){
},
_handlers={};
// F1~F12 特殊键
for(k=1;k<20;k++) {
for(var k=1;k<20;k++) {
_keyMap['f'+k] = 111+k;
}
@ -100,7 +100,7 @@ function dispatch (event) {
// key 不在_handlers中返回
if (!(key in _handlers)) return;
for (i = 0; i < _handlers[key].length; i++) {
for(var i = 0; i < _handlers[key].length; i++) {
//找到处理内容
eventHandler(event,_handlers[key][i],scope);
}

Loading…
Cancel
Save