Commit Graph

153 Commits (0f0cfb82501cd0e0a5b8a303fbe05dc8e51ca471)
 

Author SHA1 Message Date
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. 8 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
jaywcjlove 52b6cce2e1 Add supporte keys;Fixed bug; 8 years ago
jaywcjlove f4091164d5 Update README.md 8 years ago
jaywcjlove 99bb227b8c build released v2.0.1 8 years ago
jaywcjlove 6cc963786c fixed Syntax error 8 years ago
jaywcjlove 2c75ceadf3 keyCode get compatibe. 8 years ago
jaywcjlove 09e88ac798 released v2.0.0 8 years ago
jaywcjlove 88df04bed4 released v1.0.12 8 years ago
jaywcjlove 4d13dfaead released v1.0.11 8 years ago
jaywcjlove b08eaa59d2 update README.md 8 years ago
jaywcjlove aa2f826000 add npmignore file 8 years ago
jaywcjlove 4b2fb27e98 update README.md 8 years ago
jaywcjlove d140fdab9a released v1.0.10 8 years ago
jaywcjlove 8284e95a26 gulp ->> npm scripts😄 8 years ago
jaywcjlove d33844119b release v1.0.9 8 years ago
jaywcjlove 08a84bc176 Compression configuration changes 8 years ago
jaywcjlove db161b3e60 Repair variable declarations bug 8 years ago
jaywcjlove ce63853997 released v1.0.8 8 years ago
jaywcjlove 948a08a31a support firefox,Redundant code 8 years ago
jaywcjlove a36b8eaa73 released v1.0.7 8 years ago
jaywcjlove 92e3a9ba11 Support Firefox 8 years ago