 #= require underscore
-#= require rangy-core
+#= require rangy/rangy-core
 #= require diff_match_patch
 #= require eventemitter2
 #= require jetsync
 #= require tandem/document
-#= require tandem/selection
+#= require tandem/range
 
 class TandemEditor extends EventEmitter2
   @editors: []

      body { 
        font-family: 'Helvetica', 'Arial', san-serif;
        font-size: 13px;
        margin: 0px; 
        padding: 0px; 
      }

  initContentListeners: ->
    onEdit = _.debounce( =>
      delta = this.update()
      this.emit(this.events.USER_TEXT_CHANGE, delta) if !delta.isIdentity()
    , 100)

    @iframeDoc.body.addEventListener('DOMSubtreeModified', =>
