Explicit void
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// FIXME draw drag box
|
||||
import Event from '../events/Event.js';
|
||||
import {always, mouseOnly, mouseActionButton} from '../events/condition.js';
|
||||
import {UNDEFINED} from '../functions.js';
|
||||
import {VOID} from '../functions.js';
|
||||
import PointerInteraction from '../interaction/Pointer.js';
|
||||
import RenderBox from '../render/Box.js';
|
||||
|
||||
@@ -140,7 +140,7 @@ class DragBox extends PointerInteraction {
|
||||
* @type {function(this:module:ol/interaction/DragBox, module:ol/MapBrowserEvent)}
|
||||
* @private
|
||||
*/
|
||||
this.onBoxEnd_ = options.onBoxEnd ? options.onBoxEnd : UNDEFINED;
|
||||
this.onBoxEnd_ = options.onBoxEnd ? options.onBoxEnd : VOID;
|
||||
|
||||
/**
|
||||
* @type {module:ol/pixel~Pixel}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/interaction/Pointer
|
||||
*/
|
||||
import {FALSE, UNDEFINED} from '../functions.js';
|
||||
import {FALSE, VOID} from '../functions.js';
|
||||
import MapBrowserEventType from '../MapBrowserEventType.js';
|
||||
import MapBrowserPointerEvent from '../MapBrowserPointerEvent.js';
|
||||
import Interaction from '../interaction/Interaction.js';
|
||||
@@ -12,7 +12,7 @@ import {getValues} from '../obj.js';
|
||||
* @param {module:ol/MapBrowserPointerEvent} mapBrowserEvent Event.
|
||||
* @this {module:ol/interaction/Pointer}
|
||||
*/
|
||||
const handleDragEvent = UNDEFINED;
|
||||
const handleDragEvent = VOID;
|
||||
|
||||
|
||||
/**
|
||||
@@ -35,7 +35,7 @@ const handleDownEvent = FALSE;
|
||||
* @param {module:ol/MapBrowserPointerEvent} mapBrowserEvent Event.
|
||||
* @this {module:ol/interaction/Pointer}
|
||||
*/
|
||||
const handleMoveEvent = UNDEFINED;
|
||||
const handleMoveEvent = VOID;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user