Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -36,7 +36,7 @@ ol.style.IconImageCache = function() {
|
||||
* @return {string} Cache key.
|
||||
*/
|
||||
ol.style.IconImageCache.getKey = function(src, crossOrigin, color) {
|
||||
goog.DEBUG && console.assert(crossOrigin !== undefined,
|
||||
ol.DEBUG && console.assert(crossOrigin !== undefined,
|
||||
'argument crossOrigin must be defined');
|
||||
var colorString = color ? ol.color.asString(color) : 'null';
|
||||
return crossOrigin + ':' + src + ':' + colorString;
|
||||
|
||||
Reference in New Issue
Block a user