Replace instanceof checks with other logic

This commit is contained in:
ahocevar
2018-10-05 16:16:51 +02:00
parent 96e99e481e
commit 9163558511
40 changed files with 232 additions and 268 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ class MouseWheelZoom extends Interaction {
/**
* @private
* @type {any}
* @type {?}
*/
this.timeoutId_;
@@ -126,7 +126,7 @@ class MouseWheelZoom extends Interaction {
this.trackpadEventGap_ = 400;
/**
* @type {any}
* @type {?}
*/
this.trackpadTimeoutId_;