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.
|
||||
@@ -50,7 +50,7 @@ const _ol_pointer_MsSource_ = function(dispatcher) {
|
||||
'MSGotPointerCapture': this.msGotPointerCapture,
|
||||
'MSLostPointerCapture': this.msLostPointerCapture
|
||||
};
|
||||
_ol_pointer_EventSource_.call(this, dispatcher, mapping);
|
||||
EventSource.call(this, dispatcher, mapping);
|
||||
|
||||
/**
|
||||
* @const
|
||||
@@ -71,7 +71,7 @@ const _ol_pointer_MsSource_ = function(dispatcher) {
|
||||
];
|
||||
};
|
||||
|
||||
inherits(_ol_pointer_MsSource_, _ol_pointer_EventSource_);
|
||||
inherits(_ol_pointer_MsSource_, EventSource);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user