Remove ol.DEBUG

This commit is contained in:
Tim Schaub
2016-12-29 09:09:24 -07:00
parent 7b9690a691
commit 137cdc04c8
128 changed files with 309 additions and 2027 deletions

View File

@@ -66,8 +66,6 @@ ol.TileUrlFunction.createFromTemplates = function(templates, tileGrid) {
* @return {ol.TileUrlFunctionType} Tile URL function.
*/
ol.TileUrlFunction.createFromTileUrlFunctions = function(tileUrlFunctions) {
ol.DEBUG && console.assert(tileUrlFunctions.length > 0,
'Length of tile url functions should be greater than 0');
if (tileUrlFunctions.length === 1) {
return tileUrlFunctions[0];
}