Changelog History
Page 1
-
v1.6.5 Changes
January 23, 2020- ๐ Actually fixed bind global plugin in node environment (#470)
-
v1.6.4 Changes
January 23, 2020- ๐ Fixed bind global plugin in node js environments (#465)
-
v1.6.3 Changes
March 04, 2019- ๐ Fixed issue where callbacks were incorrectly fired from input fields in shadow DOM (#245)
- โก๏ธ Updated tests to run using npm dependencies
-
v1.6.2 Changes
June 02, 2018- โก๏ธ Updated version to publish new License to NPM
-
v1.6.1 Changes
April 02, 2017- ๐ Fixed issue where mousetrap did not work with numpad 0 key
-
v1.6.0 Changes
May 29, 2016- โก๏ธ Updated to not fail when included in server side environments
- โ Added
Mousetrap.addKeycodes
method for adding custom keyCodes not defined in the existing map
-
v1.5.3 Changes
July 02, 2015- ๐ Fixes issue with _belongsTo when using web components
-
v1.5.2 Changes
March 30, 2015- ๐ Fixes broken AMD support introduced in version 1.5.0
-
v1.5.1 Changes
March 28, 2015Two quick things
- 0๏ธโฃ Defaults target element to
document
if you just callnew Mousetrap()
on its own - ๐ Checks against document first in the
_belongsTo
function to improve performance
- 0๏ธโฃ Defaults target element to
-
v1.5.0 Changes
March 28, 2015๐ This release is long overdue. It brings a bunch of stuff.
โ Adds support for creating multiple instances of Mousetrap
โ Adds support for binding Mousetrap events to specific elements on the page (for example forms or form fields)
๐ For more information see http://craig.is/killing/mice#wrapping
โ Adds support for using Mousetrap as a common js module
๐ Improves handling of
+
key in keyboard commands. Also adds an alias to reference+
asplus
to avoid confusionGeneral code formatting clean up
One note about backwards compatibility
โก๏ธ If you are using any of the plugins in the plugins directory and you update to Mousetrap 1.5.0 they will break. You have to install the new versions of the plugins. This is because all the public functions are now bound to the Mousetrap prototype instead of being attached to the global object.