Make functions @protected or @private
This also makes jsdoc3 happy along the way.
This commit is contained in:
@@ -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_();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user