Use goog.DEBUG instead of ol.DEBUG for now

This commit is contained in:
Andreas Hocevar
2016-08-04 09:37:42 +02:00
parent 55ab5704d4
commit e0015b3d4e
121 changed files with 712 additions and 721 deletions
+1 -1
View File
@@ -335,6 +335,6 @@ ol.style.createDefaultEditingStyles = function() {
* @return {ol.geom.Geometry|ol.render.Feature|undefined} Geometry to render.
*/
ol.style.defaultGeometryFunction = function(feature) {
ol.DEBUG && console.assert(feature, 'feature must not be null');
goog.DEBUG && console.assert(feature, 'feature must not be null');
return feature.getGeometry();
};