Make shouldStopEvent default to the identity func

This commit is contained in:
Éric Lemoine
2014-12-15 17:28:36 +01:00
parent 1907de667a
commit 6b46d5c76a
9 changed files with 39 additions and 28 deletions
-7
View File
@@ -3,7 +3,6 @@ goog.provide('ol.DragBoxEvent');
goog.provide('ol.interaction.DragBox');
goog.require('goog.events.Event');
goog.require('goog.functions');
goog.require('ol');
goog.require('ol.events.ConditionType');
goog.require('ol.events.condition');
@@ -205,9 +204,3 @@ ol.interaction.DragBox.handleDownEvent_ = function(mapBrowserEvent) {
return false;
}
};
/**
* @inheritDoc
*/
ol.interaction.DragBox.prototype.shouldStopEvent = goog.functions.identity;