Skip to content

Commit

Permalink
released v2.0.5 #15
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 7, 2017
1 parent 7311320 commit 089e35f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
};
}
var _api, // 对外API
isff = navigator.userAgent.toLowerCase().indexOf("firefox") > 0, _keyMap = {
isff = typeof navigator !== "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : false, _keyMap = {
// 特殊键
backspace: 8,
tab: 9,
Expand Down
2 changes: 1 addition & 1 deletion 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,6 +1,6 @@
{
"name": "hotkeys-js",
"version": "2.0.4",
"version": "2.0.5",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"author": "kenny wang <[email protected]>",
"main": "dist/hotkeys.min.js",
Expand Down

0 comments on commit 089e35f

Please sign in to comment.