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:
committed by
Guillaume Beraudo
parent
a8cade7cf8
commit
2e63590791
@@ -293,19 +293,19 @@ ol.style.RegularShape.prototype.getStroke = function() {
|
|||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
ol.style.RegularShape.prototype.listenImageChange = ol.nullFunction;
|
ol.style.RegularShape.prototype.listenImageChange = function(listener, thisArg) {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
ol.style.RegularShape.prototype.load = ol.nullFunction;
|
ol.style.RegularShape.prototype.load = function() {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
ol.style.RegularShape.prototype.unlistenImageChange = ol.nullFunction;
|
ol.style.RegularShape.prototype.unlistenImageChange = function(listener, thisArg) {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user