yomichan/ext
toasted-nutbread d9b4404075 Create functions for the cases of isMouseButton
jshint was showing a warning that there was no break statement
after the first case, which there doesn't need to be.

The most straightforward way to fix this without using the unclear
// jshint ignore:line
is to just have two functions.

This change also updates invocations of isMouseButton to use
the exact case function, as this will remove the need to check
the case of mosueEvent.type. This was done because onMouseMove
is invoked at a high frequency.
2019-11-10 14:00:44 -05:00
..
bg Fix several warnings about name conflicts 2019-11-10 13:55:37 -05:00
fg Create functions for the cases of isMouseButton 2019-11-10 14:00:44 -05:00
mixed Create functions for the cases of isMouseButton 2019-11-10 14:00:44 -05:00
manifest.json Update version 2019-11-05 19:03:23 -08:00