<commit_before>foam.CLASS({
  package: 'foam.u2.navigation',
  name: 'TopNavigation',
  extends: 'foam.u2.View',

  documentation: 'Top navigation bar',

  imports: [ 
    'menuDAO', 
    'user',
    'logo'
  ],

  axioms: [
    foam.u2.CSS.create({
      code: function CSS() {/*
        ^ {
          background: #093649;
          width: 100%;
          min-width: 992px;
          height: 60px;
          color: white;
          padding-top: 5px;
        }
        ^ .topNavContainer {
          width: 100%;
          margin: auto;
        }
        ^ .menuBar > div > ul {
          margin-top: 0;
          padding-left: 0;
          font-weight: 100;
          color: #ffffff;
        }
        ^ .foam-nanos-menu-MenuBar li {
          display: inline-block;
          cursor: pointer;
        }
        ^ .menuItem{
          display: inline-block;
          padding: 20px 0 10px 0px;
          cursor: pointer;
          border-bottom: 4px solid transparent;
          transition: text-shadow;
        }
        ^ .menuItem:hover {
          border-bottom: 4px solid #1cc2b7;
          padding-bottom: 5px;
          text-shadow: 0 0 0px white, 0 0 0px white;
        }
        ^ .selected {
          border-bottom: 4px solid #1cc2b7;
          padding-bottom: 5px;
          text-shadow: 0 0 0px white, 0 0 0px white;
        }
        ^ .menuBar{
          width: 50%;
          overflow: auto;
          white-space: nowrap;
          margin-left: 60px;
        }          
      */}
    })
  ],

  properties: [
    {
      name: 'dao',
      factory: function() { return this.menuDAO; }
    }
  ],

  methods: [
    function initE(){
      var self = this;
      this
        .addClass(this.myClass())
        .start().addClass('topNavContainer')
          .callIf( this.logo, function(){
            self.start({class: 'foam.u2.navigation.BusinessLogoView'})
            .end()
          })
          .start({class: 'foam.nanos.menu.MenuBar'}).addClass('menuBar')
          .end()
          .callIf( this.user.firstName, function(){
            self.start({class: 'foam.u2.navigation.UserView'})
            .end()
          })
        .end()
    }
  ]
});<commit_msg>minor fix<commit_after>foam.CLASS({
  package: 'foam.u2.navigation',
  name: 'TopNavigation',
  extends: 'foam.u2.View',

  documentation: 'Top navigation bar',

  imports: [ 
    'menuDAO', 
    'user',
    'logo'
  ],

  axioms: [
    foam.u2.CSS.create({
      code: function CSS() {/*
        ^ {
          background: #093649;
          width: 100%;
          min-width: 992px;
          height: 60px;
          color: white;
          padding-top: 5px;
        }
        ^ .topNavContainer {
          width: 100%;
          margin: auto;
        }
        ^ .menuBar > div > ul {
          margin-top: 0;
          padding-left: 0;
          font-weight: 100;
          color: #ffffff;
        }
        ^ .foam-nanos-menu-MenuBar li {
          display: inline-block;
          cursor: pointer;
        }
        ^ .menuItem{
          display: inline-block;
          padding: 20px 0 10px 0px;
          cursor: pointer;
          border-bottom: 4px solid transparent;
          transition: text-shadow;
        }
        ^ .menuItem:hover {
          border-bottom: 4px solid #1cc2b7;
          padding-bottom: 5px;
          text-shadow: 0 0 0px white, 0 0 0px white;
        }
        ^ .selected {
          border-bottom: 4px solid #1cc2b7;
          padding-bottom: 5px;
          text-shadow: 0 0 0px white, 0 0 0px white;
        }
        ^ .menuBar{
          width: 50%;
          overflow: auto;
          white-space: nowrap;
          margin-left: 60px;
        }          
      */}
    })
  ],

  properties: [
    {
      name: 'dao',
      factory: function() { return this.menuDAO; }
    }
  ],

  methods: [
    function initE(){
      var self = this;
      this
        .addClass(this.myClass())
        .start().addClass('topNavContainer')
          .callIf( this.logo, function(){
            this.start({class: 'foam.u2.navigation.BusinessLogoView'})
            .end()
          })
          .start({class: 'foam.nanos.menu.MenuBar'}).addClass('menuBar')
          .end()
          .callIf( this.user.firstName, function(){
            this.start({class: 'foam.u2.navigation.UserView'})
            .end()
          })
        .end()
    }
  ]
});
{'fraction_non_alphanumeric': 0.13324175824175824, 'fraction_numerical': 0.027930402930402932, 'mean_word_length': 1.390043763676149, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4925229', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1377, 'n_words': 287}