Use assertInstanceof instead of getImageSource

This commit is contained in:
Tom Payne
2013-12-13 17:17:30 +01:00
parent c9b0d0bf0e
commit b12bed8949
4 changed files with 9 additions and 12 deletions
-9
View File
@@ -1,7 +1,6 @@
goog.provide('ol.layer.Image');
goog.require('ol.layer.Layer');
goog.require('ol.source.Image');
@@ -15,11 +14,3 @@ ol.layer.Image = function(options) {
goog.base(this, options);
};
goog.inherits(ol.layer.Image, ol.layer.Layer);
/**
* @return {ol.source.Image} Single image source.
*/
ol.layer.Image.prototype.getImageSource = function() {
return /** @type {ol.source.Image} */ (this.getSource());
};