       @build_num
 
   pusherChannel: () =>
-    "private-#{@project_name()}/#{@build_num}"
+    "private-#{@project_name()}-#{@build_num}".replace(/\//g,"-")
 
   update: (json) =>
     @status(json.status)
-
-  updateNode: (json) =>
-    switch json.type
-      when "add" then @nodes[json.index].addLog(json)
-      when "update" then @nodes[json.index].updateLog(json)
-
 
 class Project extends HasUrl
   constructor: (json) ->

    textVal t, loading
)


# Make the buttons disabled when clicked
$.ajaxSetup

    @author = @komp =>
      @committer_name or @committer_email

    @build_channel = VM.pusher.subscribe(@pusherChannel())
    @build_channel.bind('pusher:subscription_error', (status) -> notifyError status)

    @build_channel.bind('newAction', (json) => newAction json)
    @build_channel.bind('updateAction', (json) => updateAction json)
    @build_channel.bind('appendAction', (json) => @appendAction json)

  newAction: (json) =>
    fillArray(@steps, json.steps, Step)
    fillArray(@steps()[json.step].actions, json.index, ActionLog)


  appendAction: (json) =>
    fillArray(@steps, json.steps, Step)
    fillArray(@steps()[json.step].actions(), json.index, ActionLog)

    @steps[json.step].actions()[json.action].push(json.out)

  # TODO: CSRF protection
  retry_build: (data, event) =>
    $.ajax(
