hedgeagent/1.12.0 #1

Open
sa6anw wants to merge 201 commits from hedgeagent/1.12.0 into hedgeagent/1.10.5
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 5a5e12a693 - Show all commits

View File

@@ -282,7 +282,9 @@ ot.Client = (function (global) {
StaleWithBuffer.prototype.applyClient = function (client, operation) { StaleWithBuffer.prototype.applyClient = function (client, operation) {
var buffer = this.buffer.compose(operation); var buffer = this.buffer.compose(operation);
return new StaleWithBuffer(this.acknowlaged, buffer, client, this.revision); var swb = new StaleWithBuffer(this.acknowlaged, buffer, client, this.revision);
swb.pendingOps = this.pendingOps;
return swb;
}; };
StaleWithBuffer.prototype.applyServer = function (client, revision, operation) { StaleWithBuffer.prototype.applyServer = function (client, revision, operation) {

View File

@@ -282,7 +282,9 @@ ot.Client = (function (global) {
StaleWithBuffer.prototype.applyClient = function (client, operation) { StaleWithBuffer.prototype.applyClient = function (client, operation) {
var buffer = this.buffer.compose(operation); var buffer = this.buffer.compose(operation);
return new StaleWithBuffer(this.acknowlaged, buffer, client, this.revision); var swb = new StaleWithBuffer(this.acknowlaged, buffer, client, this.revision);
swb.pendingOps = this.pendingOps;
return swb;
}; };
StaleWithBuffer.prototype.applyServer = function (client, revision, operation) { StaleWithBuffer.prototype.applyServer = function (client, revision, operation) {