Rename ol.interaction.condition to ol.events.condition

This commit is contained in:
Frederic Junod
2013-10-18 08:45:00 +02:00
parent 5b9bcbac1c
commit a9159ecac3
14 changed files with 67 additions and 67 deletions
+5 -5
View File
@@ -11,13 +11,13 @@ goog.require('ol.MapBrowserEvent');
goog.require('ol.MapBrowserEvent.EventType');
goog.require('ol.Pixel');
goog.require('ol.control.Control');
goog.require('ol.interaction.ConditionType');
goog.require('ol.interaction.condition');
goog.require('ol.events.ConditionType');
goog.require('ol.events.condition');
/**
* @typedef {{startCoordinate: ol.Coordinate,
* condition: (ol.interaction.ConditionType|undefined)}}
* condition: (ol.events.ConditionType|undefined)}}
*/
ol.control.DragBoxOptions;
@@ -35,10 +35,10 @@ ol.control.DragBox = function(options) {
/**
* @private
* @type {ol.interaction.ConditionType}
* @type {ol.events.ConditionType}
*/
this.condition_ = goog.isDef(options.condition) ?
options.condition : ol.interaction.condition.always;
options.condition : ol.events.condition.always;
/**
* @type {ol.Pixel|undefined}