Add eslint and fix reported issues

This commit is contained in:
Juanjo Diaz
2018-05-24 00:25:44 +03:00
parent cfe1e44ed7
commit 8727f598c2
36 changed files with 134 additions and 108 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ export default function Keyboard(target) {
'blur': this._allKeysUp.bind(this),
'checkalt': this._checkAlt.bind(this),
};
};
}
Keyboard.prototype = {
// ===== EVENT HANDLERS =====
@@ -296,7 +296,7 @@ Keyboard.prototype = {
Log.Debug(">> Keyboard.allKeysUp");
for (var code in this._keyDownList) {
this._sendKeyEvent(this._keyDownList[code], code, false);
};
}
Log.Debug("<< Keyboard.allKeysUp");
},
+1 -1
View File
@@ -32,7 +32,7 @@ export default function Mouse(target) {
'mousewheel': this._handleMouseWheel.bind(this),
'mousedisable': this._handleMouseDisable.bind(this)
};
};
}
Mouse.prototype = {
// ===== PROPERTIES =====
-1
View File
@@ -1,4 +1,3 @@
import KeyTable from "./keysym.js";
import keysyms from "./keysymdef.js";
import vkeys from "./vkeys.js";
import fixedkeys from "./fixedkeys.js";