Fix use of goog.nullFunction and goog.functions.NULL, thanks @elemoine (again)
This commit is contained in:
@@ -116,9 +116,7 @@ ol.renderer.Map.prototype.canRotate = goog.functions.FALSE;
|
|||||||
* @protected
|
* @protected
|
||||||
* @return {ol.renderer.Layer} layerRenderer Layer renderer.
|
* @return {ol.renderer.Layer} layerRenderer Layer renderer.
|
||||||
*/
|
*/
|
||||||
ol.renderer.Map.prototype.createLayerRenderer = function(layer) {
|
ol.renderer.Map.prototype.createLayerRenderer = goog.functions.NULL;
|
||||||
return null;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -203,7 +201,7 @@ ol.renderer.Map.prototype.getPixelFromCoordinate = function(coordinate) {
|
|||||||
/**
|
/**
|
||||||
* Handle background color changed.
|
* Handle background color changed.
|
||||||
*/
|
*/
|
||||||
ol.renderer.Map.prototype.handleBackgroundColorChanged = goog.functions.NULL;
|
ol.renderer.Map.prototype.handleBackgroundColorChanged = goog.nullFunction;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user