react-shortcuts
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -79,2 +79,9 @@ 'use strict'; | ||
}, { | ||
key: 'extendKeymap', | ||
value: function extendKeymap(keymap) { | ||
(0, _invariant2.default)(keymap, 'extendKeymap: keymap argument is not defined or falsy.'); | ||
this._keymap = Object.assign({}, this._keymap, keymap); | ||
this.emit(ShortcutManager.CHANGE_EVENT); | ||
} | ||
}, { | ||
key: 'getAllShortcuts', | ||
@@ -81,0 +88,0 @@ value: function getAllShortcuts() { |
{ | ||
"name": "react-shortcuts", | ||
"description": "React shortcuts", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "./lib/", |
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
26865
347