Release 11.0.2

This commit is contained in:
Kevin Jahns 2016-04-26 21:28:21 +02:00
parent 2d1a7b067b
commit c2ffe0b697
3 changed files with 4 additions and 4 deletions

2
dist

@ -1 +1 @@
Subproject commit 89a920df683ddbeb64c2d542793f3a1aa9fe01f9
Subproject commit b958b72f1df825af1641a2a5896f2425935465f9

View File

@ -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": {

View File

@ -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