Shorter module paths for default exports

This commit is contained in:
ahocevar
2018-04-25 17:23:56 +02:00
parent 6cb115d6a4
commit 440d1ad3e1
233 changed files with 2136 additions and 2042 deletions

View File

@@ -2,13 +2,13 @@
* @module ol/pointer/EventSource
*/
/**
* @param {module:ol/pointer/PointerEventHandler~PointerEventHandler} dispatcher Event handler.
* @param {module:ol/pointer/PointerEventHandler} dispatcher Event handler.
* @param {!Object.<string, function(Event)>} mapping Event mapping.
* @constructor
*/
const EventSource = function(dispatcher, mapping) {
/**
* @type {module:ol/pointer/PointerEventHandler~PointerEventHandler}
* @type {module:ol/pointer/PointerEventHandler}
*/
this.dispatcher = dispatcher;