anchor.diff:  $ = jQuery
  -client = null
   
   @Sync = 
     
  
positive.code: 
    onConnectFailure: (error) -> #noop
  
    connect: -> client.connect()
  
    onReady: (callback) ->
      if @isReady()
  
negative.code: 
    constructor: (@name, @channel, @selector) ->
      @$el = $("[data-sync-id='#{@selector}']")
      @adapter = Sync.adapter
  
  
    subscribe: ->
      @adapter.subscribe @channel, (data) =>
        @insert data.html,
                data.channelUpdate,
                data.channelDestroy,
  