Rename _ol_pointer_EventSource_ to EventSource
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_pointer_EventSource_ from '../pointer/EventSource.js';
|
||||
import EventSource from '../pointer/EventSource.js';
|
||||
|
||||
/**
|
||||
* @param {ol.pointer.PointerEventHandler} dispatcher Event handler.
|
||||
@@ -47,7 +47,7 @@ const _ol_pointer_MouseSource_ = function(dispatcher) {
|
||||
'mouseover': this.mouseover,
|
||||
'mouseout': this.mouseout
|
||||
};
|
||||
_ol_pointer_EventSource_.call(this, dispatcher, mapping);
|
||||
EventSource.call(this, dispatcher, mapping);
|
||||
|
||||
/**
|
||||
* @const
|
||||
@@ -62,7 +62,7 @@ const _ol_pointer_MouseSource_ = function(dispatcher) {
|
||||
this.lastTouches = [];
|
||||
};
|
||||
|
||||
inherits(_ol_pointer_MouseSource_, _ol_pointer_EventSource_);
|
||||
inherits(_ol_pointer_MouseSource_, EventSource);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user