From cf083e4f4226606b0e8807386e70f0bf32066709 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 10 Feb 2016 10:20:21 +0100 Subject: [PATCH] Remove return value from olx.interaction.PointerOptions functions handleDragEvent and handleMoveEvent functions do not return a boolean value. The typedef is already correct. --- externs/olx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 6020e48d67..b3564cd27f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -2910,7 +2910,7 @@ olx.interaction.PointerOptions.prototype.handleDownEvent; /** * Function handling "drag" events. This function is called on "move" events * during a drag sequence. - * @type {(function(ol.MapBrowserPointerEvent):boolean|undefined)} + * @type {(function(ol.MapBrowserPointerEvent)|undefined)} * @api */ olx.interaction.PointerOptions.prototype.handleDragEvent; @@ -2931,7 +2931,7 @@ olx.interaction.PointerOptions.prototype.handleEvent; * Function handling "move" events. This function is called on "move" events, * also during a drag sequence (so during a drag sequence both the * `handleDragEvent` function and this function are called). - * @type {(function(ol.MapBrowserPointerEvent):boolean|undefined)} + * @type {(function(ol.MapBrowserPointerEvent)|undefined)} * @api */ olx.interaction.PointerOptions.prototype.handleMoveEvent;