-
-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be2c9b7
commit 828bc90
Showing
6 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* hotkeys-js v3.6.12 | ||
* hotkeys-js v3.6.13 | ||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. | ||
* | ||
* Copyright (c) 2019 kenny wong <[email protected]> | ||
|
@@ -397,7 +397,7 @@ function hotkeys(key, option, method) { | |
|
||
if (option.keyup) keyup = option.keyup; // eslint-disable-line | ||
|
||
if (option.keydown) keydown = option.keydown; // eslint-disable-line | ||
if (option.keydown !== undefined) keydown = option.keydown; // eslint-disable-line | ||
} | ||
|
||
if (typeof option === 'string') scope = option; // 对于每个快捷键进行处理 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* hotkeys-js v3.6.12 | ||
* hotkeys-js v3.6.13 | ||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. | ||
* | ||
* Copyright (c) 2019 kenny wong <[email protected]> | ||
|
@@ -395,7 +395,7 @@ function hotkeys(key, option, method) { | |
|
||
if (option.keyup) keyup = option.keyup; // eslint-disable-line | ||
|
||
if (option.keydown) keydown = option.keydown; // eslint-disable-line | ||
if (option.keydown !== undefined) keydown = option.keydown; // eslint-disable-line | ||
} | ||
|
||
if (typeof option === 'string') scope = option; // 对于每个快捷键进行处理 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* hotkeys-js v3.6.12 | ||
* hotkeys-js v3.6.13 | ||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. | ||
* | ||
* Copyright (c) 2019 kenny wong <[email protected]> | ||
|
@@ -401,7 +401,7 @@ | |
|
||
if (option.keyup) keyup = option.keyup; // eslint-disable-line | ||
|
||
if (option.keydown) keydown = option.keydown; // eslint-disable-line | ||
if (option.keydown !== undefined) keydown = option.keydown; // eslint-disable-line | ||
} | ||
|
||
if (typeof option === 'string') scope = option; // 对于每个快捷键进行处理 | ||
|
Oops, something went wrong.