Import events conditions explicitly

This commit is contained in:
Marc Jansen
2018-02-05 18:22:42 +01:00
parent 1c8e60487c
commit 6e764a20b3
16 changed files with 54 additions and 69 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
*/
import {inherits} from '../index.js';
import ViewHint from '../ViewHint.js';
import condition from '../events/condition.js';
import {always} from '../events/condition.js';
import {easeOut} from '../easing.js';
import EventType from '../events/EventType.js';
import {DEVICE_PIXEL_RATIO, FIREFOX, SAFARI} from '../has.js';
@@ -68,7 +68,7 @@ const MouseWheelZoom = function(opt_options) {
* @private
* @type {ol.EventsConditionType}
*/
this.condition_ = options.condition ? options.condition : condition.always;
this.condition_ = options.condition ? options.condition : always;
/**
* @private