Rename goog.DEBUG to ol.DEBUG

This commit is contained in:
Andreas Hocevar
2016-08-28 17:02:49 +02:00
parent 92ab5a079c
commit d1e4b33760
115 changed files with 701 additions and 691 deletions

View File

@@ -19,7 +19,7 @@ ol.QuadKeyCharCode = {
*/
ol.tilecoord.createFromString = function(str) {
var v = str.split('/');
goog.DEBUG && console.assert(v.length === 3,
ol.DEBUG && console.assert(v.length === 3,
'must provide a string in "z/x/y" format, got "%s"', str);
return v.map(function(e) {
return parseInt(e, 10);