       operations = FileOperations.find(
         {_id: {$gt: lastRevision}}, sort: {_id: 1})
       operations.forEach (operation) ->
-        console.log operation
         lastRevision = operation._id
         if operation.clientId != fileInfo.clientId
           serverAdapter.trigger('operation', operation.operation)


# note: this isn't called when switching between files
Template.fileEdit.destroyed = ->
  console.log 'destroyed'
  if GitRt.cm
    $(GitRt.cm.getWrapperElement()).remove()
    delete GitRt.cm


# note: this isn't called when switching between files
Template.fileEdit.rendered = ->
  GitRt.cm = CodeMirror.fromTextArea(editor,
    lineNumbers: true
  )
