note that acks are for our own ops

This commit is contained in:
Brian Gough 2016-11-04 10:55:46 +00:00
parent c25395d80b
commit d2ba575d85

View file

@ -46,7 +46,7 @@ define [
@_doc.on "change", () => @_doc.on "change", () =>
@trigger "change" @trigger "change"
@_doc.on "acknowledge", () => @_doc.on "acknowledge", () =>
@lastAcked = new Date() # note time of last ack from server @lastAcked = new Date() # note time of last ack from server for an op we sent
@trigger "acknowledge" @trigger "acknowledge"
@_doc.on "remoteop", () => @_doc.on "remoteop", () =>
# As soon as we're working with a collaborator, start sending # As soon as we're working with a collaborator, start sending