-
-
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
1e802bd
commit a595c55
Showing
7 changed files
with
16 additions
and
16 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.13.6 | ||
* hotkeys-js v3.13.7 | ||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. | ||
* | ||
* Copyright (c) 2024 kenny wong <[email protected]> | ||
|
@@ -25,8 +25,8 @@ function addEvent(object, event, method, useCapture) { | |
function removeEvent(object, event, method, useCapture) { | ||
if (object.removeEventListener) { | ||
object.removeEventListener(event, method, useCapture); | ||
} else if (object.deachEvent) { | ||
object.deachEvent("on".concat(event), method); | ||
} else if (object.detachEvent) { | ||
object.detachEvent("on".concat(event), method); | ||
} | ||
} | ||
|
||
|
Large diffs are not rendered by default.
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.13.6 | ||
* hotkeys-js v3.13.7 | ||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. | ||
* | ||
* Copyright (c) 2024 kenny wong <[email protected]> | ||
|
@@ -23,8 +23,8 @@ function addEvent(object, event, method, useCapture) { | |
function removeEvent(object, event, method, useCapture) { | ||
if (object.removeEventListener) { | ||
object.removeEventListener(event, method, useCapture); | ||
} else if (object.deachEvent) { | ||
object.deachEvent("on".concat(event), method); | ||
} else if (object.detachEvent) { | ||
object.detachEvent("on".concat(event), method); | ||
} | ||
} | ||
|
||
|
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.13.6 | ||
* hotkeys-js v3.13.7 | ||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. | ||
* | ||
* Copyright (c) 2024 kenny wong <[email protected]> | ||
|
@@ -29,8 +29,8 @@ | |
function removeEvent(object, event, method, useCapture) { | ||
if (object.removeEventListener) { | ||
object.removeEventListener(event, method, useCapture); | ||
} else if (object.deachEvent) { | ||
object.deachEvent("on".concat(event), method); | ||
} else if (object.detachEvent) { | ||
object.detachEvent("on".concat(event), method); | ||
} | ||
} | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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