Don't import ourselves

This commit is contained in:
Frederic Junod
2018-09-06 09:01:46 +02:00
parent ba698258c0
commit ea616e7751
73 changed files with 157 additions and 157 deletions

View File

@@ -57,7 +57,7 @@ const DEDUP_DIST = 25;
/**
* Handler for `mousedown`.
*
* @this {import("./MouseSource.js").default}
* @this {MouseSource}
* @param {MouseEvent} inEvent The in event.
*/
function mousedown(inEvent) {
@@ -76,7 +76,7 @@ function mousedown(inEvent) {
/**
* Handler for `mousemove`.
*
* @this {import("./MouseSource.js").default}
* @this {MouseSource}
* @param {MouseEvent} inEvent The in event.
*/
function mousemove(inEvent) {
@@ -89,7 +89,7 @@ function mousemove(inEvent) {
/**
* Handler for `mouseup`.
*
* @this {import("./MouseSource.js").default}
* @this {MouseSource}
* @param {MouseEvent} inEvent The in event.
*/
function mouseup(inEvent) {
@@ -107,7 +107,7 @@ function mouseup(inEvent) {
/**
* Handler for `mouseover`.
*
* @this {import("./MouseSource.js").default}
* @this {MouseSource}
* @param {MouseEvent} inEvent The in event.
*/
function mouseover(inEvent) {
@@ -120,7 +120,7 @@ function mouseover(inEvent) {
/**
* Handler for `mouseout`.
*
* @this {import("./MouseSource.js").default}
* @this {MouseSource}
* @param {MouseEvent} inEvent The in event.
*/
function mouseout(inEvent) {

View File

@@ -49,7 +49,7 @@ const POINTER_TYPES = [
/**
* Handler for `msPointerDown`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msPointerDown(inEvent) {
@@ -61,7 +61,7 @@ function msPointerDown(inEvent) {
/**
* Handler for `msPointerMove`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msPointerMove(inEvent) {
@@ -72,7 +72,7 @@ function msPointerMove(inEvent) {
/**
* Handler for `msPointerUp`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msPointerUp(inEvent) {
@@ -84,7 +84,7 @@ function msPointerUp(inEvent) {
/**
* Handler for `msPointerOut`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msPointerOut(inEvent) {
@@ -95,7 +95,7 @@ function msPointerOut(inEvent) {
/**
* Handler for `msPointerOver`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msPointerOver(inEvent) {
@@ -106,7 +106,7 @@ function msPointerOver(inEvent) {
/**
* Handler for `msPointerCancel`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msPointerCancel(inEvent) {
@@ -118,7 +118,7 @@ function msPointerCancel(inEvent) {
/**
* Handler for `msLostPointerCapture`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msLostPointerCapture(inEvent) {
@@ -129,7 +129,7 @@ function msLostPointerCapture(inEvent) {
/**
* Handler for `msGotPointerCapture`.
*
* @this {import("./MsSource.js").default}
* @this {MsSource}
* @param {MSPointerEvent} inEvent The in event.
*/
function msGotPointerCapture(inEvent) {

View File

@@ -37,7 +37,7 @@ import EventSource from '../pointer/EventSource.js';
/**
* Handler for `pointerdown`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function pointerDown(inEvent) {
@@ -47,7 +47,7 @@ function pointerDown(inEvent) {
/**
* Handler for `pointermove`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function pointerMove(inEvent) {
@@ -57,7 +57,7 @@ function pointerMove(inEvent) {
/**
* Handler for `pointerup`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function pointerUp(inEvent) {
@@ -67,7 +67,7 @@ function pointerUp(inEvent) {
/**
* Handler for `pointerout`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function pointerOut(inEvent) {
@@ -77,7 +77,7 @@ function pointerOut(inEvent) {
/**
* Handler for `pointerover`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function pointerOver(inEvent) {
@@ -87,7 +87,7 @@ function pointerOver(inEvent) {
/**
* Handler for `pointercancel`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function pointerCancel(inEvent) {
@@ -97,7 +97,7 @@ function pointerCancel(inEvent) {
/**
* Handler for `lostpointercapture`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function lostPointerCapture(inEvent) {
@@ -107,7 +107,7 @@ function lostPointerCapture(inEvent) {
/**
* Handler for `gotpointercapture`.
*
* @this {import("./NativeSource.js").default}
* @this {NativeSource}
* @param {Event} inEvent The in event.
*/
function gotPointerCapture(inEvent) {

View File

@@ -51,7 +51,7 @@ const POINTER_TYPE = 'touch';
* Handler for `touchstart`, triggers `pointerover`,
* `pointerenter` and `pointerdown` events.
*
* @this {import("./TouchSource.js").default}
* @this {TouchSource}
* @param {TouchEvent} inEvent The in event.
*/
function touchstart(inEvent) {
@@ -65,7 +65,7 @@ function touchstart(inEvent) {
/**
* Handler for `touchmove`.
*
* @this {import("./TouchSource.js").default}
* @this {TouchSource}
* @param {TouchEvent} inEvent The in event.
*/
function touchmove(inEvent) {
@@ -76,7 +76,7 @@ function touchmove(inEvent) {
* Handler for `touchend`, triggers `pointerup`,
* `pointerout` and `pointerleave` events.
*
* @this {import("./TouchSource.js").default}
* @this {TouchSource}
* @param {TouchEvent} inEvent The event.
*/
function touchend(inEvent) {
@@ -88,7 +88,7 @@ function touchend(inEvent) {
* Handler for `touchcancel`, triggers `pointercancel`,
* `pointerout` and `pointerleave` events.
*
* @this {import("./TouchSource.js").default}
* @this {TouchSource}
* @param {TouchEvent} inEvent The in event.
*/
function touchcancel(inEvent) {