Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -9,7 +9,7 @@ goog.provide('ol.geom.flat.deflate');
|
||||
* @return {number} offset Offset.
|
||||
*/
|
||||
ol.geom.flat.deflate.coordinate = function(flatCoordinates, offset, coordinate, stride) {
|
||||
goog.DEBUG && console.assert(coordinate.length == stride,
|
||||
ol.DEBUG && console.assert(coordinate.length == stride,
|
||||
'length of the coordinate array should match stride');
|
||||
var i, ii;
|
||||
for (i = 0, ii = coordinate.length; i < ii; ++i) {
|
||||
@@ -30,7 +30,7 @@ ol.geom.flat.deflate.coordinates = function(flatCoordinates, offset, coordinates
|
||||
var i, ii;
|
||||
for (i = 0, ii = coordinates.length; i < ii; ++i) {
|
||||
var coordinate = coordinates[i];
|
||||
goog.DEBUG && console.assert(coordinate.length == stride,
|
||||
ol.DEBUG && console.assert(coordinate.length == stride,
|
||||
'length of coordinate array should match stride');
|
||||
var j;
|
||||
for (j = 0; j < stride; ++j) {
|
||||
|
||||
Reference in New Issue
Block a user