From ba8684b585cb7ab4efeacca9b03ab4b2cc0fb0b8 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 12 Jun 2013 16:46:45 +0200 Subject: [PATCH] Remove defaultPrevented attribut from ol.MapEvent already defined in parent class: http://docs.closure-library.googlecode.com/git/class_goog_events_Event.html --- src/ol/mapevent.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/ol/mapevent.js b/src/ol/mapevent.js index 581a27f0e1..080a707a9b 100644 --- a/src/ol/mapevent.js +++ b/src/ol/mapevent.js @@ -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; -};