- Build: Update `dist`

master
Brett Zamir 2018-10-01 16:45:34 +08:00
parent 3c036c70cd
commit 3d2085c991
8 changed files with 12 additions and 8 deletions

3
dist/index-es.js vendored
View File

@ -21193,6 +21193,7 @@ function SvgCanvas(container, config) {
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
function jqPluginJSHotkeys (b) {
b.hotkeys = {
version: "0.8",
@ -21283,7 +21284,7 @@ function jqPluginJSHotkeys (b) {
e = d.data.toLowerCase().split(" ");
d.handler = function (n) {
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
return;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
dist/index-umd.js vendored
View File

@ -21199,6 +21199,7 @@
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
function jqPluginJSHotkeys (b) {
b.hotkeys = {
version: "0.8",
@ -21289,7 +21290,7 @@
e = d.data.toLowerCase().split(" ");
d.handler = function (n) {
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
return;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21196,6 +21196,7 @@
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
function jqPluginJSHotkeys (b) {
b.hotkeys = {
version: "0.8",
@ -21286,7 +21287,7 @@
e = d.data.toLowerCase().split(" ");
d.handler = function (n) {
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
return;
}

View File

@ -21196,6 +21196,7 @@
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
// We *do* want to allow the escape key within textareas (and possibly tab too), so add the condition `n.which !== 27`
function jqPluginJSHotkeys (b) {
b.hotkeys = {
version: "0.8",
@ -21286,7 +21287,7 @@
e = d.data.toLowerCase().split(" ");
d.handler = function (n) {
if (this !== n.target && (/textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
if (this !== n.target && (n.which !== 27 && /textarea|select/i.test(n.target.nodeName) || n.target.type === "text")) {
return;
}