Removing unused file and code.
This commit is contained in:
@@ -53,7 +53,6 @@ ol.event.Drag.prototype.dispatchEvent = function(e) {
|
|||||||
ol.event.Drag.prototype.startDrag = function(e) {
|
ol.event.Drag.prototype.startDrag = function(e) {
|
||||||
this.previousX_ = e.clientX;
|
this.previousX_ = e.clientX;
|
||||||
this.previousY_ = e.clientY;
|
this.previousY_ = e.clientY;
|
||||||
e.type = ol.event.Drag.EventType.DRAGSTART;
|
|
||||||
goog.base(this, 'startDrag', e);
|
goog.base(this, 'startDrag', e);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
goog.provide('ol.event.Sequence');
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @constructor
|
|
||||||
*/
|
|
||||||
ol.event.Sequence = function() {
|
|
||||||
|
|
||||||
/**
|
|
||||||
@private
|
|
||||||
@type {Element}
|
|
||||||
*/
|
|
||||||
this.element_ = null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Event types provided by this sequence.
|
|
||||||
* @enum {string}
|
|
||||||
*/
|
|
||||||
this.eventTypes_ = {};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Event mappings provided by this sequence.
|
|
||||||
* @enum {Object}
|
|
||||||
*/
|
|
||||||
this.providedEvents_ = {};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
@param {Element} element
|
|
||||||
*/
|
|
||||||
ol.event.Sequence.prototype.setElement = function(element) {
|
|
||||||
this.element_ = element;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
@return {Object}
|
|
||||||
*/
|
|
||||||
ol.event.Sequence.prototype.getProvidedEvents = function() {
|
|
||||||
return this.providedEvents_;
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user