From 38eb1494eb1c61b949a2d768a1a080ab9affbc51 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 19 Mar 2018 16:29:32 +0100 Subject: [PATCH] Module type for ol.CollectionEvent --- src/ol/CollectionEventType.js | 4 ++-- src/ol/layer/Group.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ol/CollectionEventType.js b/src/ol/CollectionEventType.js index 58ee49c827..0676fa4e2e 100644 --- a/src/ol/CollectionEventType.js +++ b/src/ol/CollectionEventType.js @@ -8,13 +8,13 @@ export default { /** * Triggered when an item is added to the collection. - * @event module:ol/CollectionEvent~CollectionEvent#add + * @event module:ol/Collection~CollectionEvent#add * @api */ ADD: 'add', /** * Triggered when an item is removed from the collection. - * @event module:ol/CollectionEvent~CollectionEvent#remove + * @event module:ol/Collection~CollectionEvent#remove * @api */ REMOVE: 'remove' diff --git a/src/ol/layer/Group.js b/src/ol/layer/Group.js index ee52d7acad..00b690e585 100644 --- a/src/ol/layer/Group.js +++ b/src/ol/layer/Group.js @@ -121,7 +121,7 @@ LayerGroup.prototype.handleLayersChanged_ = function(event) { /** - * @param {ol.CollectionEvent} collectionEvent CollectionEvent. + * @param {module:ol/Collection~CollectionEvent} collectionEvent CollectionEvent. * @private */ LayerGroup.prototype.handleLayersAdd_ = function(collectionEvent) { @@ -136,7 +136,7 @@ LayerGroup.prototype.handleLayersAdd_ = function(collectionEvent) { /** - * @param {ol.CollectionEvent} collectionEvent CollectionEvent. + * @param {module:ol/Collection~CollectionEvent} collectionEvent CollectionEvent. * @private */ LayerGroup.prototype.handleLayersRemove_ = function(collectionEvent) {