From d99a0c164e2f52d14174f1dc29585baf5bad72ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 27 Sep 2012 17:56:29 +0200 Subject: [PATCH] Make functions @protected or @private This also makes jsdoc3 happy along the way. --- src/ol/layer/layer.js | 5 +++-- src/ol/source/source.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ol/layer/layer.js b/src/ol/layer/layer.js index 8b52fa81a9..a4c784dbd6 100644 --- a/src/ol/layer/layer.js +++ b/src/ol/layer/layer.js @@ -73,8 +73,9 @@ goog.inherits(ol.layer.Layer, ol.Object); /** + * @private */ -ol.layer.Layer.prototype.dispatchLoadEvent = function() { +ol.layer.Layer.prototype.dispatchLoadEvent_ = function() { this.dispatchEvent(goog.events.EventType.LOAD); }; @@ -163,7 +164,7 @@ goog.exportProperty( * @private */ ol.layer.Layer.prototype.handleSourceLoad_ = function() { - this.dispatchLoadEvent(); + this.dispatchLoadEvent_(); }; diff --git a/src/ol/source/source.js b/src/ol/source/source.js index 999a220c38..f2a95444fa 100644 --- a/src/ol/source/source.js +++ b/src/ol/source/source.js @@ -53,6 +53,7 @@ goog.inherits(ol.source.Source, goog.events.EventTarget); /** + * @protected */ ol.source.Source.prototype.dispatchLoadEvent = function() { this.dispatchEvent(goog.events.EventType.LOAD);