Remove defaultPrevented attribut from ol.MapEvent

already defined in parent class: http://docs.closure-library.googlecode.com/git/class_goog_events_Event.html
This commit is contained in:
Frederic Junod
2013-06-12 16:46:45 +02:00
parent b08a086a11
commit ba8684b585

View File

@@ -30,11 +30,6 @@ ol.MapEvent = function(type, map, opt_frameState) {
*/
this.map = map;
/**
* @type {boolean}
*/
this.defaultPrevented = false;
/**
* @type {?ol.FrameState}
*/
@@ -42,12 +37,3 @@ ol.MapEvent = function(type, map, opt_frameState) {
};
goog.inherits(ol.MapEvent, goog.events.Event);
/**
* Prevents the default action.
*/
ol.MapEvent.prototype.preventDefault = function() {
goog.base(this, 'preventDefault');
this.defaultPrevented = true;
};