Rename _ol_pointer_MsSource_ to MsSource

This commit is contained in:
Frederic Junod
2018-01-17 12:01:20 +01:00
parent b39a6f4cae
commit aeee8e67a9
2 changed files with 15 additions and 15 deletions

View File

@@ -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);