{"maintainers":[{"name":"farthinker","email":"farthinker@gmail.com"}],"keywords":["hotkeys"],"dist-tags":{"latest":"1.0.3"},"author":{"name":"ichord","email":"chord.luo@gmail.com"},"description":"Simple hotkeys for tower.im","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","repository":{"type":"git","url":"git://github.com/ichord/simple-hotkeys.git"},"bugs":{"url":"https://github.com/ichord/simple-hotkeys/issues"},"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":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/simple-hotkeys/-/simple-hotkeys-0.2.0.tgz"},"directories":{}},"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":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/simple-hotkeys/-/simple-hotkeys-1.0.0.tgz"},"directories":{}},"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":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/simple-hotkeys/-/simple-hotkeys-1.0.1.tgz"},"directories":{}},"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":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/simple-hotkeys/-/simple-hotkeys-1.0.2.tgz"},"directories":{}},"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":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/simple-hotkeys/-/simple-hotkeys-1.0.3.tgz"},"directories":{}}},"name":"simple-hotkeys","time":{"modified":"2015-05-20T02:15:01.092Z","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"},"readmeFilename":"README.md","homepage":"https://github.com/ichord/simple-hotkeys"}