From 124b195d3e7b825623d8755dce555ce0e8c8a509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 10 May 2013 14:04:50 +0200 Subject: [PATCH] handleMapPostrender returns undefined Without this we get the following warning from the compiler: JSC_EXPORTED_FUNCTION_UNKNOWN_RETURN_TYPE. Unable to determine return type for exported function ol.control.Control.prototype.handleMapPostrender at ../src/ol/control/control.js line 79 : 51 I'm not sure why explicitely specifying the return type is required here. --- externs/oli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/externs/oli.js b/externs/oli.js index f6feed46c6..ef12b7092d 100644 --- a/externs/oli.js +++ b/externs/oli.js @@ -17,6 +17,7 @@ oli.control.Control = function() {}; /** * @param {ol.MapEvent} mapEvent Map event. + * @return {undefined} Undefined. */ oli.control.Control.prototype.handleMapPostrender = function(mapEvent) {};