Skip to content

Commit

Permalink
released v3.13.7 (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 7, 2024
1 parent 1e802bd commit a595c55
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions dist/hotkeys.common.js
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]>
Expand All @@ -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);
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/hotkeys.common.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/hotkeys.esm.js
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]>
Expand All @@ -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);
}
}

Expand Down
6 changes: 3 additions & 3 deletions dist/hotkeys.js
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]>
Expand Down Expand Up @@ -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);
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/hotkeys.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.13.6",
"version": "3.13.7",
"main": "index.js",
"types": "index.d.ts",
"module": "dist/hotkeys.esm.js",
Expand Down

0 comments on commit a595c55

Please sign in to comment.