Don't use ol.nullFunction in ol.style.RegularShape

The closure compiler doesn't recognize this as an implementation of an abstract function.
This commit is contained in:
Frederic Junod
2016-12-16 15:13:56 +01:00
committed by Guillaume Beraudo
parent a8cade7cf8
commit 2e63590791

View File

@@ -293,19 +293,19 @@ ol.style.RegularShape.prototype.getStroke = function() {
/**
* @inheritDoc
*/
ol.style.RegularShape.prototype.listenImageChange = ol.nullFunction;
ol.style.RegularShape.prototype.listenImageChange = function(listener, thisArg) {};
/**
* @inheritDoc
*/
ol.style.RegularShape.prototype.load = ol.nullFunction;
ol.style.RegularShape.prototype.load = function() {};
/**
* @inheritDoc
*/
ol.style.RegularShape.prototype.unlistenImageChange = ol.nullFunction;
ol.style.RegularShape.prototype.unlistenImageChange = function(listener, thisArg) {};
/**