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.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/slate-react.js +5 -5
- package/dist/slate-react.min.js +1 -1
- package/package.json +1 -1
package/dist/slate-react.js
CHANGED
|
@@ -4639,9 +4639,9 @@
|
|
|
4639
4639
|
});
|
|
4640
4640
|
|
|
4641
4641
|
unwrapExports(lib);
|
|
4642
|
-
lib.isHotkey;
|
|
4642
|
+
var lib_1 = lib.isHotkey;
|
|
4643
4643
|
lib.isCodeHotkey;
|
|
4644
|
-
|
|
4644
|
+
lib.isKeyHotkey;
|
|
4645
4645
|
lib.parseHotkey;
|
|
4646
4646
|
lib.compareHotkey;
|
|
4647
4647
|
lib.toKeyCode;
|
|
@@ -4696,9 +4696,9 @@
|
|
|
4696
4696
|
var generic = HOTKEYS[key];
|
|
4697
4697
|
var apple = APPLE_HOTKEYS[key];
|
|
4698
4698
|
var windows = WINDOWS_HOTKEYS[key];
|
|
4699
|
-
var isGeneric = generic &&
|
|
4700
|
-
var isApple = apple &&
|
|
4701
|
-
var isWindows = windows &&
|
|
4699
|
+
var isGeneric = generic && lib_1(generic);
|
|
4700
|
+
var isApple = apple && lib_1(apple);
|
|
4701
|
+
var isWindows = windows && lib_1(windows);
|
|
4702
4702
|
return function (event) {
|
|
4703
4703
|
if (isGeneric && isGeneric(event)) return true;
|
|
4704
4704
|
if (IS_APPLE && isApple && isApple(event)) return true;
|