<commit_before>class DockController extends KDViewController

  defaultItems = [
    { title : "Activity",  path : "/Activity", order : 10, type :"" }
    { title : "Topics",    path : "/Topics",   order : 20, type :"" }
    { title : "Terminal",  path : "/Terminal", order : 30, type :"" }
    { title : "Editor",    path : "/Ace",      order : 40, type :"" }
    { title : "Apps",      path : "/Apps",     order : 50, type :"" }
    { title : "Teamwork",  path : "/Teamwork", order : 60, type :"" }
    # { title : "About",     path : "/About",    order : 70, type :"" }
  ]

  createHash = (arr)->

    hash = {}
    arr.forEach (item)-> hash[item.title] = item
    return hash


  constructor:(options = {}, data)->

    options.view or= new KDCustomHTMLView domId : 'dock'

    super options, data

    @storage = new AppStorage "Dock", "1.0"

    @navController = new MainNavController
      view         : new NavigationList
        domId      : 'main-nav'
        testPath   : 'navigation-list'
        type       : 'navigation'
        itemClass  : NavigationLink
        testPath   : 'navigation-list'
      wrapper      : no
      scrollView   : no<commit_msg>Dock: changed teamwork's order<commit_after>class DockController extends KDViewController

  defaultItems = [
    { title : "Activity",  path : "/Activity", order : 10, type :"" }
    # { title : "Topics",    path : "/Topics",   order : 20, type :"" }
    { title : "Teamwork",  path : "/Teamwork", order : 20, type :"" }
    { title : "Terminal",  path : "/Terminal", order : 30, type :"" }
    { title : "Editor",    path : "/Ace",      order : 40, type :"" }
    { title : "Apps",      path : "/Apps",     order : 50, type :"" }
    # { title : "About",     path : "/About",    order : 70, type :"" }
  ]

  createHash = (arr)->

    hash = {}
    arr.forEach (item)-> hash[item.title] = item
    return hash


  constructor:(options = {}, data)->

    options.view or= new KDCustomHTMLView domId : 'dock'

    super options, data

    @storage = new AppStorage "Dock", "1.0"

    @navController = new MainNavController
      view         : new NavigationList
        domId      : 'main-nav'
        testPath   : 'navigation-list'
        type       : 'navigation'
        itemClass  : NavigationLink
        testPath   : 'navigation-list'
      wrapper      : no
      scrollView   : no
{'fraction_non_alphanumeric': 0.15374841168996187, 'fraction_numerical': 0.013553578991952562, 'mean_word_length': 2.1535380507343125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3863506', 'n_tokens_mistral': 780, 'n_tokens_neox': 718, 'n_words': 200}