Don't modify return type of method

This commit is contained in:
Tom Payne
2012-09-26 23:23:17 +02:00
parent 96bd703271
commit d3b9af30d0
3 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -18,9 +18,8 @@ goog.inherits(ol.layer.TileLayer, ol.layer.Layer);
/**
* @inheritDoc
* @return {ol.TileSource} Source.
*/
ol.layer.TileLayer.prototype.getSource = function() {
return /** @type {ol.TileSource} */ goog.base(this, 'getSource');
ol.layer.TileLayer.prototype.getTileSource = function() {
return /** @type {ol.TileSource} */ this.getSource();
};