Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -66,7 +66,7 @@ ol.inherits(ol.geom.LineString, ol.geom.SimpleGeometry);
|
||||
* @api stable
|
||||
*/
|
||||
ol.geom.LineString.prototype.appendCoordinate = function(coordinate) {
|
||||
goog.DEBUG && console.assert(coordinate.length == this.stride,
|
||||
ol.DEBUG && console.assert(coordinate.length == this.stride,
|
||||
'length of coordinate array should match stride');
|
||||
if (!this.flatCoordinates) {
|
||||
this.flatCoordinates = coordinate.slice();
|
||||
|
||||
Reference in New Issue
Block a user