Add missing override and inheritDoc jsdoc tags

This commit is contained in:
Frederic Junod
2016-12-16 15:49:53 +01:00
committed by Guillaume Beraudo
parent 546fc97cd4
commit d59224f5eb
34 changed files with 77 additions and 37 deletions
+1
View File
@@ -57,6 +57,7 @@ ol.inherits(ol.source.Image, ol.source.Source);
/**
* @return {Array.<number>} Resolutions.
* @override
*/
ol.source.Image.prototype.getResolutions = function() {
return this.resolutions_;
+1
View File
@@ -91,6 +91,7 @@ ol.inherits(ol.source.TileDebug.Tile_, ol.Tile);
/**
* Get the image element for this tile.
* @return {HTMLCanvasElement} Image.
* @override
*/
ol.source.TileDebug.Tile_.prototype.getImage = function() {
if (this.canvas_) {
+2 -1
View File
@@ -320,6 +320,7 @@ ol.inherits(ol.source.TileUTFGrid.Tile_, ol.Tile);
/**
* Get the image element for this tile.
* @return {Image} Image.
* @override
*/
ol.source.TileUTFGrid.Tile_.prototype.getImage = function() {
return null;
@@ -479,7 +480,7 @@ ol.source.TileUTFGrid.Tile_.prototype.onXHRError_ = function(event) {
/**
* Load not yet loaded URI.
* @inheritDoc
*/
ol.source.TileUTFGrid.Tile_.prototype.load = function() {
if (this.preemptive_) {