semicolons
This commit is contained in:
@ -24,14 +24,14 @@ const onUserInputChange = callback => {
|
|||||||
document.removeEventListener('mousemove', mousemoveHandler);
|
document.removeEventListener('mousemove', mousemoveHandler);
|
||||||
}
|
}
|
||||||
lastTime = now;
|
lastTime = now;
|
||||||
}
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
document.addEventListener('touchstart', () => {
|
document.addEventListener('touchstart', () => {
|
||||||
if (type === 'touch') return;
|
if (type === 'touch') return;
|
||||||
type = 'touch';
|
type = 'touch';
|
||||||
callback(type);
|
callback(type);
|
||||||
document.addEventListener('mousemove', mousemoveHandler)
|
document.addEventListener('mousemove', mousemoveHandler);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user