     else
       @notify 'File needs to be under ~/Web folder to preview.', 'error'
 
+
   updateStatusBar: (component, data) ->
+
     {status} = @statusBar
 
     text = if component is 'editor'



  bindRouteHandler: ->
    {router, mainView} = KD.singletons

    router.on 'RouteInfoHandled', (routeInfo) =>
      if routeInfo.path.indexOf('/IDE') is -1
        if mainView.isSidebarCollapsed
          mainView.toggleSidebar()

  bindCollapseEvents: ->




  addParticipant: (account) ->

    {hash, nickname} = account.profile

    @participants.push { nickname, hash }
