diff --git a/dist b/dist index 89a920df683ddbeb64c2d542793f3a1aa9fe01f9..b958b72f1df825af1641a2a5896f2425935465f9 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit 89a920df683ddbeb64c2d542793f3a1aa9fe01f9 +Subproject commit b958b72f1df825af1641a2a5896f2425935465f9 diff --git a/package.json b/package.json index 1ba70005a120a5deff3a1c341a4037893ffe43de..f4808701ed68e571d1c1f10d91f6d705170f2669 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yjs", - "version": "11.0.1", + "version": "11.0.2", "description": "A framework for real-time p2p shared editing on arbitrary complex data types", "main": "./src/y.js", "scripts": { diff --git a/src/Utils.js b/src/Utils.js index d2bbf2889a4472df98da39ec4897ad3412258781..4c82919ddf6c604a01d8b5113df3d19c624fdb48 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -115,8 +115,8 @@ module.exports = function (Y /* : any*/) { if (op.struct === 'Insert') { for (var i = this.waiting.length - 1; i >= 0; i--) { let w = this.waiting[i] - // TODO: do I handle split operations correctly here? Super unlikely, but yeah.. - // Also: can this case happen? Can op be inserted in the middle of a larger op that is in $waiting? + // TODO: do I handle split operations correctly here? Super unlikely, but yeah.. + // Also: can this case happen? Can op be inserted in the middle of a larger op that is in $waiting? if (w.struct === 'Insert') { if (Y.utils.matchesId(w, op.left)) { // include the effect of op in w