anchor.diff:    SYNC_CHANNEL: "sync"
   
     connect: ->
  -    @pusher = new window.Pusher(Sync.PUSHER_API_KEY)
  -    @channel = @pusher.subscribe(@SYNC_CHANNEL)
  +    @client = new window.Pusher(Sync.PUSHER_API_KEY)
  +    @channel = @client.subscribe(@SYNC_CHANNEL)
   
   
     subscribe: (channel, callback) -> 
  
positive.code:     @$end   = $("[data-sync-id='#{@selectorEnd}']")
      @$el    = @$start.nextUntil(@$end)
      @view   = new (Sync.viewClassFromPartialName(@name))(@$el, @name)
  
  
    subscribe: ->
      client.subscribe @channelUpdate, (data) => @update(data.html)
      client.subscribe @channelDestroy, => @remove()
  
    
    update: (html) -> @view.beforeUpdate(html, {})
  
negative.code:   CLIENT_ADAPTER: "<%= Sync.adapter %>"
  
    init: ->
      @adapter = new Sync[@CLIENT_ADAPTER]
      $ => 
        @ready = true
        @connect()
  