Build update

This commit is contained in:
Francisco Hodge 2019-04-18 09:05:17 -04:00
parent 194c60c6c9
commit 451b64d31a
6 changed files with 25 additions and 10 deletions

View File

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

View File

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

View File

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