@windoc/core 0.1.0 → 0.2.0
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/README.md +131 -0
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -1
package/dist/index.mjs
CHANGED
|
@@ -393,9 +393,6 @@ function scrollIntoView(container, selected) {
|
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
// src/core/cursor/Cursor.ts
|
|
397
|
-
import { nextTick as nextTick2 } from "process";
|
|
398
|
-
|
|
399
396
|
// src/dataset/constant/Editor.ts
|
|
400
397
|
var EDITOR_COMPONENT = "editor-component";
|
|
401
398
|
var EDITOR_PREFIX = "ce";
|
|
@@ -6341,6 +6338,7 @@ var CursorAgent = class {
|
|
|
6341
6338
|
};
|
|
6342
6339
|
|
|
6343
6340
|
// src/core/cursor/Cursor.ts
|
|
6341
|
+
var nextTick2 = (fn) => Promise.resolve().then(fn);
|
|
6344
6342
|
var Cursor = class {
|
|
6345
6343
|
constructor(draw, canvasEvent) {
|
|
6346
6344
|
this.ANIMATION_CLASS = `${EDITOR_PREFIX}-cursor--animation`;
|