Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -73,7 +73,7 @@ ol.inherits(ol.interaction.PinchRotate, ol.interaction.Pointer);
|
||||
* @private
|
||||
*/
|
||||
ol.interaction.PinchRotate.handleDragEvent_ = function(mapBrowserEvent) {
|
||||
goog.DEBUG && console.assert(this.targetPointers.length >= 2,
|
||||
ol.DEBUG && console.assert(this.targetPointers.length >= 2,
|
||||
'length of this.targetPointers should be greater than or equal to 2');
|
||||
var rotationDelta = 0.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user