Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -38,7 +38,7 @@ ol.source.Image = function(options) {
|
||||
*/
|
||||
this.resolutions_ = options.resolutions !== undefined ?
|
||||
options.resolutions : null;
|
||||
goog.DEBUG && console.assert(!this.resolutions_ ||
|
||||
ol.DEBUG && console.assert(!this.resolutions_ ||
|
||||
ol.array.isSorted(this.resolutions_,
|
||||
function(a, b) {
|
||||
return b - a;
|
||||
|
||||
Reference in New Issue
Block a user