{"_id":"simple-hotkeys","_rev":"9-c1423d740204fba95a29f4491eeb5961","name":"simple-hotkeys","description":"Simple hotkeys for tower.im","dist-tags":{"latest":"1.0.3"},"versions":{"0.2.0":{"name":"simple-hotkeys","description":"Simple hotkeys for tower.im","version":"0.2.0","homepage":"https://github.com/ichord/simple-hotkeys","author":{"name":"ichord","email":"chord.luo@gmail.com"},"repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"scripts":{"test":"grunt test --verbose"},"main":"lib/hotkeys.js","dependencies":{"jquery":"2.x","simplemodule":"2.x"},"devDependencies":{"grunt":"0.x","grunt-contrib-watch":"0.x","grunt-contrib-coffee":"0.x","grunt-contrib-jasmine":"0.x","grunt-umd":"2.x"},"keywords":["hotkeys"],"gitHead":"bd91154c9fd60e55ccbdd4f330ae434628ebd934","_id":"simple-hotkeys@0.2.0","_shasum":"80fb4c1e53984533011b71cb20f839c96a19bd9a","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.22","_npmUser":{"name":"farthinker","email":"farthinker@gmail.com"},"maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"dist":{"shasum":"80fb4c1e53984533011b71cb20f839c96a19bd9a","tarball":"https://registry.npmjs.org/simple-hotkeys/-/simple-hotkeys-0.2.0.tgz","integrity":"sha512-Eac8HaeSmi7HLf/sK+85Plp3wQUi6D8Op2Z0F7bmGWkcaqT0v8wm32JaSL06VmuuXl733/hodmtzKIodMeLYJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC74J+A8wqiwaoXwrnPDHG5ci2X8SYeKt6YR86S/YSmhwIgDJSbYPwEzXflTPEHPQwKszc5wgm9zWjAYHgLB/g9TGk="}]}},"1.0.0":{"name":"simple-hotkeys","description":"Simple hotkeys for tower.im","version":"1.0.0","homepage":"https://github.com/ichord/simple-hotkeys","author":{"name":"ichord","email":"chord.luo@gmail.com"},"repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"scripts":{"test":"grunt test --verbose"},"main":"lib/hotkeys.js","dependencies":{"jquery":"2.x","simplemodule":"2.x"},"devDependencies":{"grunt":"0.x","grunt-contrib-watch":"0.x","grunt-contrib-coffee":"0.x","grunt-contrib-jasmine":"0.x","grunt-umd":"2.x"},"keywords":["hotkeys"],"gitHead":"4d7bd19d79de07d8c2b6f238d787e1d800953800","_id":"simple-hotkeys@1.0.0","_shasum":"1de2f84ba120a9acb5317afe5c17eb3f47b060a4","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.22","_npmUser":{"name":"farthinker","email":"farthinker@gmail.com"},"maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"dist":{"shasum":"1de2f84ba120a9acb5317afe5c17eb3f47b060a4","tarball":"https://registry.npmjs.org/simple-hotkeys/-/simple-hotkeys-1.0.0.tgz","integrity":"sha512-Ok5evPnrHZAvvLxI2jvJ+qeug2xOyQeVr5KzbXkTj/5C/VVcBc9U1OyMOlivwTS6mvxDI7rYXNFKXOJ5imuR+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOstqkjeS0ObSKzsdtR42EUaI3xyceRn6o6/p+zhAV9AiEApXVOhOSp2zypuiDc/ibChX1dOweIxmL/9f2WRe0imzY="}]}},"1.0.1":{"name":"simple-hotkeys","description":"Simple hotkeys for tower.im","version":"1.0.1","homepage":"https://github.com/ichord/simple-hotkeys","author":{"name":"ichord","email":"chord.luo@gmail.com"},"repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"scripts":{"test":"grunt test --verbose"},"main":"lib/hotkeys.js","dependencies":{"jquery":"2.x","simplemodule":"2.x"},"devDependencies":{"grunt":"0.x","grunt-contrib-watch":"0.x","grunt-contrib-coffee":"0.x","grunt-contrib-jasmine":"0.x","grunt-umd":"2.x"},"keywords":["hotkeys"],"gitHead":"bef88227e97ba436b8452082e630a871b938184f","_id":"simple-hotkeys@1.0.1","_shasum":"744ce264daa2f548b8ef023a61887c5488a67726","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"farthinker","email":"farthinker@gmail.com"},"maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"dist":{"shasum":"744ce264daa2f548b8ef023a61887c5488a67726","tarball":"https://registry.npmjs.org/simple-hotkeys/-/simple-hotkeys-1.0.1.tgz","integrity":"sha512-vi6HHZOe5sasL+UypBRHLLl4gffD+hetK3D4zYAjhqUPHBSyx+oAqLP0uI5e/dM1B8DVTXLRvt5g7bMwfGaxUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4T3kXOC2RCFDCDnNEC2LU9SMbsD/TROuTJsP4P+u4sAIgRpIMBiDvD7LKw1nQMizcMubuu6cWl6zFXNqes7ivXBs="}]}},"1.0.2":{"name":"simple-hotkeys","description":"Simple hotkeys for tower.im","version":"1.0.2","homepage":"https://github.com/ichord/simple-hotkeys","author":{"name":"ichord","email":"chord.luo@gmail.com"},"repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"scripts":{"test":"grunt test --verbose"},"main":"lib/hotkeys.js","dependencies":{"jquery":"2.x","simple-module":"~2.0.5"},"devDependencies":{"grunt":"0.x","grunt-contrib-watch":"0.x","grunt-contrib-coffee":"0.x","grunt-contrib-jasmine":"0.x","grunt-umd":"2.x"},"keywords":["hotkeys"],"gitHead":"6fbfee6e0b504b70622ea8f7d50e3fac7faf2e94","_id":"simple-hotkeys@1.0.2","_shasum":"9a24e94bf6b6102e1a57066a36bfd2dc6dd2e2c9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"farthinker","email":"farthinker@gmail.com"},"maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"dist":{"shasum":"9a24e94bf6b6102e1a57066a36bfd2dc6dd2e2c9","tarball":"https://registry.npmjs.org/simple-hotkeys/-/simple-hotkeys-1.0.2.tgz","integrity":"sha512-RbCL3xfTmG3FFAkNY7Nn3WeeI/bRbYrnPeNWm5vY89DVOMnm2Z9j2xdl3eMY7Ygskm4OLsz4R3x9zXxWt6MMJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaF7H+xWJTBVcmoRZWMsctXZK3NcYdfFNuaoDgYkL00AIgXtfwjQ4T0OGmjUSUXsNUy2HShOUGYWR5bE8y8SSpYto="}]}},"1.0.3":{"name":"simple-hotkeys","description":"Simple hotkeys for tower.im","version":"1.0.3","homepage":"https://github.com/ichord/simple-hotkeys","author":{"name":"ichord","email":"chord.luo@gmail.com"},"repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"scripts":{"test":"grunt test --verbose"},"main":"lib/hotkeys.js","dependencies":{"jquery":"2.x","simple-module":"~2.0.5"},"devDependencies":{"grunt":"0.x","grunt-contrib-watch":"0.x","grunt-contrib-coffee":"0.x","grunt-contrib-jasmine":"0.x","grunt-umd":"2.x"},"keywords":["hotkeys"],"gitHead":"73d0753644be132f54d3b6200552e3e725308dfd","_id":"simple-hotkeys@1.0.3","_shasum":"47a5bc35362ca7339611bd09a84fa37818b0bbc6","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"farthinker","email":"farthinker@gmail.com"},"maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"dist":{"shasum":"47a5bc35362ca7339611bd09a84fa37818b0bbc6","tarball":"https://registry.npmjs.org/simple-hotkeys/-/simple-hotkeys-1.0.3.tgz","integrity":"sha512-F1oa1phoHN8OWYqw9z4NhtLiXPLSsqUxdTFhbSUsgY3akcmbOYHYI9V0Lg27qJB5uCpgMSdb/w1vDBdWKObSSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+wnmtU8DLVH/74onw1ug1YwbN+2gwws1VCxWKJ58UwAiEA2OKUi/GSIpg6NfjIgW8aa7Z7kV+3lipyVw5/wnN2kic="}]}}},"readme":"simple-hotkeys\n=============\n\n### Options\n\n* el - jQuery selector / jQuery Object / Node;\n\nIf you want to bind hotkeys to dynamic adding element, please pass a selector as `el`.  \nIf the `el` is null or doesn't exist, `document` element would be used by default.\n\n### Api\n\n* add(shortcut, callback(e)) - add a hotkey.\n* remove(shortcut) - remove a hotkey\n* destroy() - off events and clean up.\n\n### Usage\n\n```javascript\nhotkeys = simple.hotkeys();\nhotkeys.add(\"ctrl + b\", function(e){\n    console.log(\"ctrl + b pressed\");\n}).add(\"ctrl + h\"], function(e){\n    console.log(\"Help\");\n});\n```\n","maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"time":{"modified":"2022-06-26T19:40:06.362Z","created":"2015-02-23T14:59:17.551Z","0.2.0":"2015-02-23T14:59:17.551Z","1.0.0":"2015-02-23T15:01:48.906Z","1.0.1":"2015-04-28T09:18:08.430Z","1.0.2":"2015-05-19T02:46:39.887Z","1.0.3":"2015-05-20T02:15:01.092Z"},"homepage":"https://github.com/ichord/simple-hotkeys","keywords":["hotkeys"],"repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"author":{"name":"ichord","email":"chord.luo@gmail.com"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"readmeFilename":"README.md"}