 
   connect: =>
     self = this
-    if self.tid
-      clearTimeout(self.tid)
-      self.tid = false
-    self.tid = setTimeout(->
-      self.connect()
-    , 120000)
     DEBUG('Danmaku: Hooking')
     self.ajax = $.ajax
       url: "//#{self.server}/poll"

            self.create(item.text, item, delay)
            self.last_id = item.id
          break
        self.reconnect()
      error: ->
        self.reconnect()

  reconnect: =>

class @Danmaku
  constructor: ->
    self = this
    self.last_id = 0
    self.count = 0
    self.size = null
