server/tcpserver.js
function sendReady(e){
				//_.assertArray(updatePacket)
				//log('sending ready')
				var msg = {requestId: e.requestId}
				w.ready(msg)
				w.flush();
			}
function sendReady(e){
				//_.assertArray(updatePacket)
				//log('sending ready')
				var msg = {requestId: e.requestId}
				w.ready(msg)
				w.flush();
			}
function sendReady ( e ) { //_.assertArray(updatePacket) //log('sending ready') var msg = { requestId : e . requestId } w . ready ( msg ) w . flush ( ) ; }
/*function sendEditUpdate(op, edit, editId){
_.assertLength(arguments, 3)

var destinationSyncId = this.syncId

if(w === undefined){
throw new Error('got update after already disconnected')
}

sendUpdate(op, edit, editId, destinationSyncId)

}
function sendUpdate(op, edit, editId, destinationSyncId){
_.assertLength(arguments, 4)
_.assert(destinationSyncId > 0)
console.log('writing edit', editNames[op], edit, syncId, editId, destinationSyncId)
console.log(new Error().stack)

var binaryEdit = binEdit(op, edit)
if(syncId === undefined) syncId = -1
_.assertInt(editId)
var update = {
op: op,
edit: binaryEdit,
editId: editId,
destinationSyncId: destinationSyncId
};

w.update(update);
}
/ * function sendEditUpdate ( op edit editId ) { _ . assertLength ( arguments 3 )