Skip to content

Commit

Permalink
#28 released v3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 29, 2018
1 parent a527487 commit 40628f1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions dist/hotkeys.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* hotkeys-js v3.3.1
* hotkeys-js v3.3.2
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2018 kenny wong <wowohoo@qq.com>
Expand Down Expand Up @@ -330,7 +330,7 @@ function hotkeys(key, option, method) {
method = option;
}

if (toString.call(option) === '[object Object]') {
if (Object.prototype.toString.call(option) === '[object Object]') {
if (option.scope) scope = option.scope; // eslint-disable-line
if (option.element) element = option.element; // eslint-disable-line
}
Expand Down
4 changes: 2 additions & 2 deletions dist/hotkeys.common.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 dist/hotkeys.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* hotkeys-js v3.3.1
* hotkeys-js v3.3.2
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2018 kenny wong <wowohoo@qq.com>
Expand Down Expand Up @@ -328,7 +328,7 @@ function hotkeys(key, option, method) {
method = option;
}

if (toString.call(option) === '[object Object]') {
if (Object.prototype.toString.call(option) === '[object Object]') {
if (option.scope) scope = option.scope; // eslint-disable-line
if (option.element) element = option.element; // eslint-disable-line
}
Expand Down
4 changes: 2 additions & 2 deletions dist/hotkeys.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* hotkeys-js v3.3.1
* hotkeys-js v3.3.2
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2018 kenny wong <wowohoo@qq.com>
Expand Down Expand Up @@ -334,7 +334,7 @@ function hotkeys(key, option, method) {
method = option;
}

if (toString.call(option) === '[object Object]') {
if (Object.prototype.toString.call(option) === '[object Object]') {
if (option.scope) scope = option.scope; // eslint-disable-line
if (option.element) element = option.element; // eslint-disable-line
}
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.

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.3.1",
"version": "3.3.2",
"main": "index.js",
"scripts": {
"lint": "eslint --ext .js src website",
Expand Down

0 comments on commit 40628f1

Please sign in to comment.