fix pusher subscription

This commit is contained in:
Sven Fuchs 2012-09-26 21:50:38 +02:00
parent 060812b65d
commit 9ca03aebb6
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ $.extend Travis.Pusher.prototype,
subscribe: (channel) ->
if @pusher && @active_channels.indexOf(channel) == -1
@active_channels.push(channel)
@pusher.subscribe(@prefix(channel)).bind_all(event, data) => @receive(event, data)
@pusher.subscribe(@prefix(channel)).bind_all((event, data) => @receive(event, data))
unsubscribe: (channel) ->
ix = @active_channels.indexOf(channel)

File diff suppressed because one or more lines are too long