Explorar o código

TODO for cleaning up sharejs callbacks

Alasdair Smith %!s(int64=8) %!d(string=hai) anos
pai
achega
2be37795bd

+ 1 - 0
services/web/public/coffee/ide/editor/sharejs/vendor/client/ace.coffee

@@ -145,6 +145,7 @@ window.sharejs.extendDoc 'attach_ace', (editor, keepEditorContents, maxDocLength
     check()
 
   doc.detach_ace = ->
+    # TODO: can we remove the insert and delete event callbacks?
     editorDoc.removeListener 'change', editorListener
     delete doc.detach_ace