Comparing version 2.0.0 to 2.0.1
@@ -60,3 +60,3 @@ /** | ||
// Merge into the queue for increased collab speed | ||
if(false && this.master.queue.length == 1) { | ||
if(this.master.queue.length == 1) { | ||
var parent = this.master.queue[0].parent | ||
@@ -102,3 +102,3 @@ , callback =this.master.queue[0].callback | ||
this.master.queue.forEach(function(pendingEdit) { | ||
incoming.transfromAgainst(pendingEdit) | ||
incoming.transformAgainst(pendingEdit) | ||
}) | ||
@@ -105,0 +105,0 @@ |
{ | ||
"name": "gulf", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "transport-agnostic operational transformation control layer", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -160,2 +160,8 @@ # Gulf [![Build Status](https://travis-ci.org/marcelklehr/gulf.png)](https://travis-ci.org/marcelklehr/gulf) | ||
#### Event: init | ||
Fired when the document has received an `init` message containing a snapshot, has reset the history and set the new contents. | ||
#### Event: edit (edit:Edit) | ||
Fired by `gulf.Document#dispatchEdit()` when an incoming edit has been approved by the master, has been sanitized applied to the document's contents | ||
#### new gulf.Document(adapter, ottype) | ||
@@ -206,2 +212,5 @@ Instantiates a new, empty Document. | ||
#### Event: update (edit:Edit) | ||
Fired when EditableDocument#update() has been called, but before the changes have been approved by the master. `edit` is the newly created Edit. | ||
### Class: gulf.Edit | ||
@@ -208,0 +217,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81314
266