       this.logs = c.GUILogs
   })
 
-
 Vue.component "settings", vueSettings
 Vue.component "logs", vueLogs
 

  c.log.addListener mode, (txt) ->
    c.addLog "#{c.GUILogs.length+1}| #{txt}"

vueSettings = Vue.extend({
  name: 'settings'
  template: '#settings-template'

  data:
    t: t
    folders: dfc.getObjects()
    active: dfc.getSelectedObject()
    activeIndex: dfc.selectedObjectIndex
    activeTab: 'files'
  events:
    'active': ->
      this.$broadcast 'active'
      this.active = dfc.getSelectedObject()
      c.log.debug "active event in root"
    'refreshRoot': ->
      @folders = dfc.getObjects()
      @active = dfc.getSelectedObject()
      @activeIndex = dfc.selectedObjectIndex
  methods:
    'tabClick': (val) ->
