Make functions @protected or @private

This also makes jsdoc3 happy along the way.
This commit is contained in:
Éric Lemoine
2012-09-27 17:56:29 +02:00
parent 9536ba8e14
commit d99a0c164e
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -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); this.dispatchEvent(goog.events.EventType.LOAD);
}; };
@@ -163,7 +164,7 @@ goog.exportProperty(
* @private * @private
*/ */
ol.layer.Layer.prototype.handleSourceLoad_ = function() { ol.layer.Layer.prototype.handleSourceLoad_ = function() {
this.dispatchLoadEvent(); this.dispatchLoadEvent_();
}; };
+1
View File
@@ -53,6 +53,7 @@ goog.inherits(ol.source.Source, goog.events.EventTarget);
/** /**
* @protected
*/ */
ol.source.Source.prototype.dispatchLoadEvent = function() { ol.source.Source.prototype.dispatchLoadEvent = function() {
this.dispatchEvent(goog.events.EventType.LOAD); this.dispatchEvent(goog.events.EventType.LOAD);