From 865ab16fdf5ad7f9af9c1d273c203cb7afcf98e8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki & Nathan Sobo Date: Tue, 23 Jul 2013 17:52:05 -0700 Subject: [PATCH] Uncomment essential logging lines --- src/packages/collaboration/lib/session-utils.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packages/collaboration/lib/session-utils.coffee b/src/packages/collaboration/lib/session-utils.coffee index ca6b0c00f..f7f9e4141 100644 --- a/src/packages/collaboration/lib/session-utils.coffee +++ b/src/packages/collaboration/lib/session-utils.coffee @@ -37,14 +37,14 @@ module.exports = outputListener = (event) -> return unless connection.open event.id = nextOutputEventId++ -# console.log 'sending event', event.id, event + console.log 'sending event', event.id, event connection.send(event) doc.on('replicate-change', outputListener) queuedEvents = [] nextInputEventId = 1 handleInputEvent = (event) -> -# console.log 'received event', event.id, event + console.log 'received event', event.id, event doc.applyRemoteChange(event) nextInputEventId = event.id + 1 flushQueuedEvents = -> @@ -62,7 +62,7 @@ module.exports = handleInputEvent(event) flushQueuedEvents() else -# console.log 'enqueing event', event.id, event + console.log 'enqueing event', event.id, event queuedEvents.push(event) connection.on 'close', ->