Adding a map of sequence providers

This commit is contained in:
ahocevar
2012-06-21 19:27:18 +02:00
parent 6c76f4621e
commit 9bd507e9b8
4 changed files with 35 additions and 14 deletions
+3
View File
@@ -2,6 +2,7 @@ goog.provide('ol.event.Drag');
goog.provide('ol.event.DragEvent');
goog.require('ol.event.ISequence');
goog.require('ol.event.Events');
goog.require('goog.functions');
goog.require('goog.fx.Dragger');
goog.require('goog.fx.DragEvent');
@@ -74,6 +75,8 @@ ol.event.Drag.prototype.getEventTypes = function() {
/** @inheritDoc */
ol.event.Drag.prototype.destroy = ol.event.Drag.prototype.dispose;
ol.event.addSequenceProvider('drag', ol.event.Drag);
/**
* Object representing a drag event