         )
       )
     )
+    @innerHTML = @root.innerHTML
     return if delta.isIdentity() then false else delta
 
 


  getDelta: ->
    return @delta

  update: ->
    if @innerHTML != @root.innerHTML
      delta = this._update()
      @innerHTML = @root.innerHTML
      return delta
    else
      return false

  _deleteAt: (index, length) ->
    return if length <= 0

    )

  checkUpdate: ->
    delta = this._update()
    if delta
      oldDelta = @delta
      @delta = oldDelta.compose(delta)
