Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -55,8 +55,8 @@ ol.extent.boundingExtent = function(coordinates) {
|
||||
* @return {ol.Extent} Extent.
|
||||
*/
|
||||
ol.extent.boundingExtentXYs_ = function(xs, ys, opt_extent) {
|
||||
goog.DEBUG && console.assert(xs.length > 0, 'xs length should be larger than 0');
|
||||
goog.DEBUG && console.assert(ys.length > 0, 'ys length should be larger than 0');
|
||||
ol.DEBUG && console.assert(xs.length > 0, 'xs length should be larger than 0');
|
||||
ol.DEBUG && console.assert(ys.length > 0, 'ys length should be larger than 0');
|
||||
var minX = Math.min.apply(null, xs);
|
||||
var minY = Math.min.apply(null, ys);
|
||||
var maxX = Math.max.apply(null, xs);
|
||||
|
||||
Reference in New Issue
Block a user