Commit Graph

123 Commits (a8b36e49f4d1b191ccc3489cf8c278f8dfd9b6f2)
 

Author SHA1 Message Date
jaywcjlove a8b36e49f4 Update test case. 7 years ago
jaywcjlove 31894c6948 Update .travis.yml 7 years ago
jaywcjlove 43427e48e9 Update .travis.yml 7 years ago
jaywcjlove db65ab65ef Update website. 7 years ago
jaywcjlove 8c964c8434 Build hotkeys.js 7 years ago
jaywcjlove 81974256a4 Add test case. 7 years ago
jaywcjlove f35fdc52c4 Update documents. 7 years ago
jaywcjlove 3b7e97809b Add .travis.yml 7 years ago
jaywcjlove 26b0d8129d Add LICENSE file. 7 years ago
jaywcjlove 05e830bf42 Update .gitignore 7 years ago
jaywcjlove 532fb704e5 Fixed getMod pass parameter error. 7 years ago
jaywcjlove 4a4ee826a8 Fixed compareArray function is not exported. 7 years ago
jaywcjlove 913a8172bb Fix function does not exist. 7 years ago
jaywcjlove 717506f621 Rebuild code. 7 years ago
jaywcjlove 4d45d40207 Add version note. 7 years ago
jaywcjlove d1a4647830 Support INSERT key. released v2.0.9 7 years ago
jaywcjlove 516287ac8f Support insert key. 7 years ago
jaywcjlove 71201db9c6 remove yarn and npm lock file. 7 years ago
jaywcjlove 0580ba2823 remove lock file. 7 years ago
jaywcjlove bb85754336 #17 released v2.0.8 7 years ago
Cédric Lesquir 49c6aef757 Fix for autofill in Chrome
`e` variable was not defined in the fallback for `event.keyCode` - To reproduce, have an autofilled input in chrome
7 years ago
jaywcjlove 5d9ef40d72 released v2.0.7 #16
released v2.0.7
7 years ago
jaywcjlove 1f93969dd4 #16 global variables checking for server-side render 7 years ago
jaywcjlove 85077bfee3 released v2.0.6 #16 7 years ago
Egor Sharapov 211dd24ba0 global variables checking for server-side render
sorry, my previous PR didn't fix it
document and window also require checking

Unable to read file: /Users/egorshar/Desktop/project-preact/src/node_modules/hotkeys-js/dist/hotkeys.min.js

ReferenceError: document is not defined
method: null
at: /Users/egorshar/Desktop/project-preact/src/node_modules/hotkeys-js/dist/hotkeys.min.js:2:2977

This is most likely caused by using DOM or Web APIs.
Pre-render runs in node and has no access to globals available in browsers.
7 years ago
jaywcjlove 089e35f192 released v2.0.5 #15 7 years ago
Egor Sharapov 7311320d76 check navigator variable for existence
throws error while try to prerender the page, using preact-cli for example
7 years ago
jaywcjlove ed8b6b8b42 Add example. 7 years ago
jaywcjlove 7c81432e7c #13 released v2.0.4 8 years ago
jaywcjlove 8b80cdfb88 Update test. 8 years ago
jaywcjlove 52eb11acae #13 Fixed The backsapce don't work. 8 years ago
jaywcjlove cc4aa9f1f4 Code formatting. 8 years ago
jaywcjlove 0a0ee3eff9 update README.md 8 years ago
jaywcjlove 19bcfebfb4 npm dowload ignore the src directory. 8 years ago
jaywcjlove 24a91e2549 Update the version number. 8 years ago
jaywcjlove 3dcb5c7f85 Update README.md 8 years ago
jaywcjlove fd979d02a4 released v2.0.3 8 years ago
jaywcjlove c2f6712105 Update README.md 8 years ago
jaywcjlove b949d038f7 Add test cases. 8 years ago
jaywcjlove 7245edc4c6 Fix the error for the parameter is empty. 8 years ago
jaywcjlove 06b4865075 Update .npmignore 8 years ago
blackcater 30523a7406 码整理文案bug修复
1. 修改`compareArray` 等,用来支持 `cmd+command+c` 这种重复修饰符写法支持
2. 修改`getMods` 用来增加对`Command + A`这种大写名称的支持
3. 修改`getKeys`,用来增加对`cmd+,,,`等特殊写法支持
4. 修改`README.md`
4.  对代码格式进行了调整
8 years ago
jaywcjlove ccb7040865 Add keywords. 8 years ago
jaywcjlove b1f2fca912 Add example. 8 years ago
jaywcjlove dc58ad628d Add license 8 years ago
jaywcjlove fb4bcb0654 update npm ignore. 8 years ago
jaywcjlove 51e2b3a68a Update README.md 8 years ago
jaywcjlove 033f876f8f Add package lock file. 8 years ago
jaywcjlove 39d115d1d2 Add test cases. 8 years ago
jaywcjlove 79f14673df Compole a relesed. 8 years ago