Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -67,7 +67,7 @@ ol.inherits(ol.interaction.DragPan, ol.interaction.Pointer);
|
||||
* @private
|
||||
*/
|
||||
ol.interaction.DragPan.handleDragEvent_ = function(mapBrowserEvent) {
|
||||
goog.DEBUG && console.assert(this.targetPointers.length >= 1,
|
||||
ol.DEBUG && console.assert(this.targetPointers.length >= 1,
|
||||
'the length of this.targetPointers should be more than 1');
|
||||
var centroid =
|
||||
ol.interaction.Pointer.centroid(this.targetPointers);
|
||||
|
||||
Reference in New Issue
Block a user