Skip to content

Releases: dmauro/Keypress

v2.1.5 - Minor Bugfixes

05 Mar 13:59
70a58fb
Compare
Choose a tag to compare

v2.1.4 - Minor bugfixes

02 Apr 20:16
Compare
Choose a tag to compare

v2.1.3 - Proper version update this time

22 Aug 14:47
Compare
Choose a tag to compare

Everything didn't get updated properly in the 2.1.2 so I simply scrapped it and made another patch release.

v2.1.2 - Bug fixes

16 Aug 18:03
Compare
Choose a tag to compare
  • Added some simple jQuery proofing so you can pass in the result of a jQuery selector into the Listener's constructor. Thanks to mallocator for the request. Issue #89
  • Changed the default behavior of how sequence combos behavior. Most people probably would have considered this a bug, so I'm not considering this API breaking. Thanks to ronnyek for pointing the problem out in Issue #68.
  • Bower file cleaned up thanks to kkirsche. Pull request #97
  • Keys in FF/Gecko - and = fixed thanks to deanputney. Pull request #95

v2.1.0 - New destroy() method and bug fixes

09 Nov 19:42
Compare
Choose a tag to compare

v2.0.3 - Bug Fixes

13 Jul 14:07
Compare
Choose a tag to compare
  • Fixed a bug unregistering combos using arrays of keys
  • Added ie8 compatibility shim. Thanks to barrkel. Issue #41
  • Fixed a bug targetting the semicolon key in Firefox. Thanks to mikekuehn.
  • Added commonJS module support. Issue #45

v2.0.2 - Bug Fixes

04 May 20:51
Compare
Choose a tag to compare
  • Fixed a bug that prevented combos from unregistering, and updated the docs for how to unregister properly. Thanks to pelly and g00fy-.
  • Added AMD support

v2.0.1 - Bug Fixes

05 Feb 17:31
Compare
Choose a tag to compare

Issue #29 was a major bug. Please update.

2.0

05 Feb 15:35
Compare
Choose a tag to compare
2.0
  • Keypress now has a listener class that must be instantiated. The functions that were previously in the global window.keypress object are now public methods of the window.keypress.Listener class.
  • Each instance of a Keypress listener can be bound to a DOM element by passing in the element to the listener's constructor.
  • Combos now default to being ordered (the property is now called is_unordered and is false by default).
  • Combos' handlers preventDefault unless the handler returns true.
  • The "combo" public method is now called "simple_combo".
  • The basic combo helpers for simple, counting and sequence combos no longer have a third prevent_default optional parameter.
  • Debugging console logs can be enabled by setting keypress.debug to true.
  • All key event callbacks send a third argument specifying whether the event is firing again automatically because the key has remained pressed down.