Rename _ol_pointer_MsSource_ to MsSource
This commit is contained in:
@@ -37,7 +37,7 @@ import EventTarget from '../events/EventTarget.js';
|
||||
import _ol_has_ from '../has.js';
|
||||
import PointerEventType from '../pointer/EventType.js';
|
||||
import MouseSource from '../pointer/MouseSource.js';
|
||||
import _ol_pointer_MsSource_ from '../pointer/MsSource.js';
|
||||
import MsSource from '../pointer/MsSource.js';
|
||||
import NativeSource from '../pointer/NativeSource.js';
|
||||
import PointerEvent from '../pointer/PointerEvent.js';
|
||||
import TouchSource from '../pointer/TouchSource.js';
|
||||
@@ -89,7 +89,7 @@ PointerEventHandler.prototype.registerSources = function() {
|
||||
if (_ol_has_.POINTER) {
|
||||
this.registerSource('native', new NativeSource(this));
|
||||
} else if (_ol_has_.MSPOINTER) {
|
||||
this.registerSource('ms', new _ol_pointer_MsSource_(this));
|
||||
this.registerSource('ms', new MsSource(this));
|
||||
} else {
|
||||
const mouseSource = new MouseSource(this);
|
||||
this.registerSource('mouse', mouseSource);
|
||||
|
||||
Reference in New Issue
Block a user