From 8d8819ec3ce4ebf331c9960e46934768f93994ef Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 21 Jun 2012 17:30:01 +0200 Subject: [PATCH] Removing unused file and code. --- src/ol/event/Drag.js | 1 - src/ol/event/Sequence.js | 40 ---------------------------------------- 2 files changed, 41 deletions(-) delete mode 100644 src/ol/event/Sequence.js diff --git a/src/ol/event/Drag.js b/src/ol/event/Drag.js index ea7d4e6933..6b8fad4d62 100644 --- a/src/ol/event/Drag.js +++ b/src/ol/event/Drag.js @@ -53,7 +53,6 @@ ol.event.Drag.prototype.dispatchEvent = function(e) { ol.event.Drag.prototype.startDrag = function(e) { this.previousX_ = e.clientX; this.previousY_ = e.clientY; - e.type = ol.event.Drag.EventType.DRAGSTART; goog.base(this, 'startDrag', e); }; diff --git a/src/ol/event/Sequence.js b/src/ol/event/Sequence.js deleted file mode 100644 index 1cefeef5cd..0000000000 --- a/src/ol/event/Sequence.js +++ /dev/null @@ -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_; -}; \ No newline at end of file