@discourse/itsatrap
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -1125,7 +1125,7 @@ /*global define:false */ | ||
/** | ||
* adds a pause and unpause method to Mousetrap | ||
* adds a pause and unpause method to ItsATrap | ||
* this allows you to enable or disable keyboard shortcuts | ||
* without having to reset Mousetrap and rebind everything | ||
* without having to reset ItsATrap and rebind everything | ||
*/ | ||
Mousetrap.prototype.pause = function() { | ||
ItsATrap.prototype.pause = function() { | ||
var self = this; | ||
@@ -1135,3 +1135,3 @@ self.paused = true; | ||
Mousetrap.prototype.unpause = function() { | ||
ItsATrap.prototype.unpause = function() { | ||
var self = this; | ||
@@ -1138,0 +1138,0 @@ self.paused = false; |
{ | ||
"name": "@discourse/itsatrap", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Fork of the original Mousetrap, Simple library for handling keyboard shortcuts", | ||
@@ -5,0 +5,0 @@ "main": "itsatrap.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173223