d9b4404075
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. |
||
---|---|---|
.. | ||
css | ||
img | ||
js | ||
lib | ||
mp3 | ||
ttf |