Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -65,7 +65,7 @@ ol.TileUrlFunction.createFromTemplates = function(templates, tileGrid) {
|
||||
* @return {ol.TileUrlFunctionType} Tile URL function.
|
||||
*/
|
||||
ol.TileUrlFunction.createFromTileUrlFunctions = function(tileUrlFunctions) {
|
||||
goog.DEBUG && console.assert(tileUrlFunctions.length > 0,
|
||||
ol.DEBUG && console.assert(tileUrlFunctions.length > 0,
|
||||
'Length of tile url functions should be greater than 0');
|
||||
if (tileUrlFunctions.length === 1) {
|
||||
return tileUrlFunctions[0];
|
||||
|
||||
Reference in New Issue
Block a user