Packaging Keypress for Meteor.js, the most popular full-stack JavaScript framework on GitHub.
Note that for Meteor, you must access Keypress via the keypress
global, rather than via
window.keypress
as advised in the documentation. Do this:
var listener = new keypress.Listener();
Everything else is the same.
If you're new to Meteor, here's what the excitement is all about - watch the first two minutes; you'll be hooked by 1:28.
That screencast is from 2012. In the meantime, Meteor has become a mature JavaScript-everywhere web development framework with numerous advantages over all other single-page application frameworks.
If you encounter an issue while using this package, please CC @dandv when you file it in this repo.
- Instantiation and basic functionality test
- Test to ensure bindings are preserved when re-rendering templates