Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -145,8 +145,8 @@ ol.format.XSD.writeDecimalTextNode = function(node, decimal) {
|
||||
* @param {number} nonNegativeInteger Non negative integer.
|
||||
*/
|
||||
ol.format.XSD.writeNonNegativeIntegerTextNode = function(node, nonNegativeInteger) {
|
||||
goog.DEBUG && console.assert(nonNegativeInteger >= 0, 'value should be more than 0');
|
||||
goog.DEBUG && console.assert(nonNegativeInteger == (nonNegativeInteger | 0),
|
||||
ol.DEBUG && console.assert(nonNegativeInteger >= 0, 'value should be more than 0');
|
||||
ol.DEBUG && console.assert(nonNegativeInteger == (nonNegativeInteger | 0),
|
||||
'value should be an integer value');
|
||||
var string = nonNegativeInteger.toString();
|
||||
node.appendChild(ol.xml.DOCUMENT.createTextNode(string));
|
||||
|
||||
Reference in New Issue
Block a user