slate-react 0.97.2-202353071056 → 0.97.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3288,9 +3288,9 @@ var create = function create(key) {
3288
3288
  var generic = HOTKEYS[key];
3289
3289
  var apple = APPLE_HOTKEYS[key];
3290
3290
  var windows = WINDOWS_HOTKEYS[key];
3291
- var isGeneric = generic && isHotkey.isKeyHotkey(generic);
3292
- var isApple = apple && isHotkey.isKeyHotkey(apple);
3293
- var isWindows = windows && isHotkey.isKeyHotkey(windows);
3291
+ var isGeneric = generic && isHotkey.isHotkey(generic);
3292
+ var isApple = apple && isHotkey.isHotkey(apple);
3293
+ var isWindows = windows && isHotkey.isHotkey(windows);
3294
3294
  return function (event) {
3295
3295
  if (isGeneric && isGeneric(event)) return true;
3296
3296
  if (IS_APPLE && isApple && isApple(event)) return true;