Transformed

This commit is contained in:
Tim Schaub
2017-12-11 16:29:33 -07:00
parent 1cdb6a66f0
commit 7f47883c48
737 changed files with 22216 additions and 21609 deletions

View File

@@ -1,8 +1,8 @@
goog.provide('ol.MapBrowserEvent');
goog.require('ol');
goog.require('ol.MapEvent');
/**
* @module ol/MapBrowserEvent
*/
import _ol_ from './index.js';
import _ol_MapEvent_ from './MapEvent.js';
/**
* @classdesc
@@ -18,10 +18,10 @@ goog.require('ol.MapEvent');
* @param {boolean=} opt_dragging Is the map currently being dragged?
* @param {?olx.FrameState=} opt_frameState Frame state.
*/
ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
var _ol_MapBrowserEvent_ = function(type, map, browserEvent, opt_dragging,
opt_frameState) {
ol.MapEvent.call(this, type, map, opt_frameState);
_ol_MapEvent_.call(this, type, map, opt_frameState);
/**
* The original browser event.
@@ -55,7 +55,8 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
this.dragging = opt_dragging !== undefined ? opt_dragging : false;
};
ol.inherits(ol.MapBrowserEvent, ol.MapEvent);
_ol_.inherits(_ol_MapBrowserEvent_, _ol_MapEvent_);
/**
@@ -64,8 +65,8 @@ ol.inherits(ol.MapBrowserEvent, ol.MapEvent);
* @override
* @api
*/
ol.MapBrowserEvent.prototype.preventDefault = function() {
ol.MapEvent.prototype.preventDefault.call(this);
_ol_MapBrowserEvent_.prototype.preventDefault = function() {
_ol_MapEvent_.prototype.preventDefault.call(this);
this.originalEvent.preventDefault();
};
@@ -76,7 +77,8 @@ ol.MapBrowserEvent.prototype.preventDefault = function() {
* @override
* @api
*/
ol.MapBrowserEvent.prototype.stopPropagation = function() {
ol.MapEvent.prototype.stopPropagation.call(this);
_ol_MapBrowserEvent_.prototype.stopPropagation = function() {
_ol_MapEvent_.prototype.stopPropagation.call(this);
this.originalEvent.stopPropagation();
};
export default _ol_MapBrowserEvent_;