Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -81,7 +81,7 @@ ol.renderer.canvas.Map.prototype.createLayerRenderer = function(layer) {
|
||||
} else if (ol.ENABLE_VECTOR && layer instanceof ol.layer.Vector) {
|
||||
return new ol.renderer.canvas.VectorLayer(layer);
|
||||
} else {
|
||||
goog.DEBUG && console.assert(false, 'unexpected layer configuration');
|
||||
ol.DEBUG && console.assert(false, 'unexpected layer configuration');
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user