Skip to content

Commit

Permalink
Add missing _ for private property
Browse files Browse the repository at this point in the history
  • Loading branch information
adube committed Oct 7, 2019
1 parent 369fc78 commit 7801c1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contribs/gmf/src/permalink/Permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export function PermalinkService(
* @type {import('gmf/datasource/LayerBeingSwipe.js').LayerBeingSwipe}
* @private
*/
this.gmfLayerBeingSwipe = gmfLayerBeingSwipe;
this.gmfLayerBeingSwipe_ = gmfLayerBeingSwipe;

/**
* @type {?import("ngeo/map/FeatureOverlayMgr.js").FeatureOverlayMgr}
Expand Down Expand Up @@ -638,7 +638,7 @@ export function PermalinkService(

// Watch gmfLayerBeingSwipe
this.rootScope_.$watch(
() => this.gmfLayerBeingSwipe.layer,
() => this.gmfLayerBeingSwipe_.layer,
this.handleLayerBeingSwipeChange_.bind(this));

// External DataSources
Expand Down Expand Up @@ -1308,7 +1308,7 @@ PermalinkService.prototype.initLayers_ = function() {
// === Set the gmfLayerBeingSwipe layer ===
if (layerBeingSwipeValue !== null && layerBeingSwipeValue !== undefined
&& treeCtrl.layer.get('dataSourceId') === layerBeingSwipeValue) {
this.gmfLayerBeingSwipe.layer = treeCtrl.layer;
this.gmfLayerBeingSwipe_.layer = treeCtrl.layer;
}
}

Expand Down

0 comments on commit 7801c1c

Please sign in to comment.