Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -64,7 +64,7 @@ ol.geom.flat.geodesic.line_ = function(interpolate, transform, squaredTolerance)
|
||||
// segment.
|
||||
flatCoordinates.push(b[0], b[1]);
|
||||
key = fracB.toString();
|
||||
goog.DEBUG && console.assert(!(key in fractions),
|
||||
ol.DEBUG && console.assert(!(key in fractions),
|
||||
'fractions object should contain key : ' + key);
|
||||
fractions[key] = true;
|
||||
} else {
|
||||
@@ -75,7 +75,7 @@ ol.geom.flat.geodesic.line_ = function(interpolate, transform, squaredTolerance)
|
||||
geoStack.push(geoB, geoM, geoM, geoA);
|
||||
}
|
||||
}
|
||||
goog.DEBUG && console.assert(maxIterations > 0,
|
||||
ol.DEBUG && console.assert(maxIterations > 0,
|
||||
'maxIterations should be more than 0');
|
||||
|
||||
return flatCoordinates;
|
||||
|
||||
Reference in New Issue
Block a user