Skip to content

Commit

Permalink
updating code sync
Browse files Browse the repository at this point in the history
  • Loading branch information
datapimp committed Feb 23, 2013
1 parent 5f51fa1 commit b5327df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -53,7 +53,7 @@ codeManager.publicConfiguration
codeManager.classMethods
setup: (options={})->
@codeSyncManager = new Luca.CodeSyncManager(options)
@codeSyncManager.trigger("ready")
@codeSyncManager.trigger "ready"

codeManager.privateMethods
initialize: (@attributes={})->
Expand All @@ -63,6 +63,9 @@ codeManager.privateMethods
Luca.SocketManager::initialize.call(@, @attributes)
@bindToChannel()

start: ()->
@trigger "ready"

bindToChannel: ()->
if @client?
@client.subscribe @channel, ()=>
Expand Down

0 comments on commit b5327df

Please sign in to comment.