enforce a few eslint rules
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user