enforce a few eslint rules

This commit is contained in:
JFH
2021-05-13 01:00:09 +02:00
parent 9a5292b467
commit d3974f8f17
148 changed files with 1402 additions and 1398 deletions

View File

@@ -5,7 +5,7 @@
* @returns {void}
*/
function touchHandler (ev) {
const {changedTouches} = ev,
const { changedTouches } = ev,
first = changedTouches[0];
let type = '';
@@ -16,7 +16,7 @@ function touchHandler (ev) {
default: return;
}
const {screenX, screenY, clientX, clientY} = first;
const { screenX, screenY, clientX, clientY } = first;
const simulatedEvent = new MouseEvent(type, {
// Event interface
bubbles: true,