mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-01 02:53:07 +08:00
Build update
This commit is contained in:
parent
194c60c6c9
commit
451b64d31a
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
* simple-keyboard v2.20.6
|
* simple-keyboard v2.20.7
|
||||||
* https://github.com/hodgef/simple-keyboard
|
* https://github.com/hodgef/simple-keyboard
|
||||||
*
|
*
|
||||||
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
|
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
* simple-keyboard v2.20.6 (Non-minified build)
|
* simple-keyboard v2.20.7 (Non-minified build)
|
||||||
* https://github.com/hodgef/simple-keyboard
|
* https://github.com/hodgef/simple-keyboard
|
||||||
*
|
*
|
||||||
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
|
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
* simple-keyboard v2.20.6 (Non-minified build)
|
* simple-keyboard v2.20.7 (Non-minified build)
|
||||||
* https://github.com/hodgef/simple-keyboard
|
* https://github.com/hodgef/simple-keyboard
|
||||||
*
|
*
|
||||||
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
|
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
|
||||||
@ -1675,9 +1675,24 @@
|
|||||||
* Ensures that onInit and beforeFirstRender are only called once per instantiation
|
* Ensures that onInit and beforeFirstRender are only called once per instantiation
|
||||||
*/ this.initialized = true;
|
*/ this.initialized = true;
|
||||||
/**
|
/**
|
||||||
|
* Handling onpointerup
|
||||||
|
*/ /* istanbul ignore next */ if (this.utilities.pointerEventsSupported() && !useTouchEvents && !useMouseEvents) {
|
||||||
|
document.onpointerup = function() {
|
||||||
|
return _this10.handleButtonMouseUp();
|
||||||
|
};
|
||||||
|
} else if (useTouchEvents) {
|
||||||
|
/**
|
||||||
|
* Handling ontouchend, ontouchcancel
|
||||||
|
*/ document.ontouchend = function(e) {
|
||||||
|
return _this10.handleButtonMouseUp();
|
||||||
|
};
|
||||||
|
document.ontouchcancel = function(e) {
|
||||||
|
return _this10.handleButtonMouseUp();
|
||||||
|
};
|
||||||
|
} else if (!useTouchEvents) {
|
||||||
|
/**
|
||||||
* Handling mouseup
|
* Handling mouseup
|
||||||
*/ if (!useTouchEvents) {
|
*/ document.onmouseup = function() {
|
||||||
document.onmouseup = function() {
|
|
||||||
return _this10.handleButtonMouseUp();
|
return _this10.handleButtonMouseUp();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user