Replace goog.abstractMethod

This commit is contained in:
Peter Robins
2016-07-19 08:24:18 +00:00
parent 3665e21341
commit 0713e680e1
21 changed files with 176 additions and 101 deletions
+4 -2
View File
@@ -90,10 +90,11 @@ ol.ImageBase.prototype.getExtent = function() {
/**
* @abstract
* @param {Object=} opt_context Object.
* @return {HTMLCanvasElement|Image|HTMLVideoElement} Image.
*/
ol.ImageBase.prototype.getImage = goog.abstractMethod;
ol.ImageBase.prototype.getImage = function(opt_context) {};
/**
@@ -123,5 +124,6 @@ ol.ImageBase.prototype.getState = function() {
/**
* Load not yet loaded URI.
* @abstract
*/
ol.ImageBase.prototype.load = goog.abstractMethod;
ol.ImageBase.prototype.load = function() {};