<commit_before>'use strict';

moment.lang('es');

// Declare app level module which depends on filters, and services
var app = angular.module('loki',
    [
      'ngRoute', 'chieffancypants.loadingBar', 'ngAnimate', 'ngSanitize', 'ui.select', 'angular-growl',
      'loki.filters',
      'loki.services',
      'loki.directives',
      'loki.controllers',
      'loki.services'
    ])

  .constant('GlobalConstants', {
    dummy: { value: 1 }
  })

  .config(
    ['$routeProvider',
      function($routeProvider) {
        $routeProvider.when('/quote/create', {
          title: 'New Quote',
          templateUrl: 'quote/partialCreate'
        });
        $routeProvider.when('/quote/show/:id', {
          title: 'Quote',
          templateUrl: 'quote/partialShow'
        });
        $routeProvider.when('/timesheet', {
          title: 'TimeSheet',
          templateUrl: 'timesheet/partialShow'
        });
        $routeProvider.otherwise({
          redirectTo: '/quote/create'
        });
    }]
  )

  .config(
    ['growlProvider', function (growlProvider) {
      growlProvider.globalTimeToLive(3000);
    }]
  )

  .run(
    ['$location', '$rootScope',
      function($location, $rootScope) {
        $rootScope.$on('$routeChangeSuccess', function (event, current, previous) {
          if (current.$$route)
            $rootScope.title = current.$$route.title;<commit_msg>Default to timesheet since is the most used page<commit_after>'use strict';

moment.lang('es');

// Declare app level module which depends on filters, and services
var app = angular.module('loki',
    [
      'ngRoute', 'chieffancypants.loadingBar', 'ngAnimate', 'ngSanitize', 'ui.select', 'angular-growl',
      'loki.filters',
      'loki.services',
      'loki.directives',
      'loki.controllers',
      'loki.services'
    ])

  .constant('GlobalConstants', {
    dummy: { value: 1 }
  })

  .config(
    ['$routeProvider',
      function($routeProvider) {
        $routeProvider.when('/quote/create', {
          title: 'New Quote',
          templateUrl: 'quote/partialCreate'
        });
        $routeProvider.when('/quote/show/:id', {
          title: 'Quote',
          templateUrl: 'quote/partialShow'
        });
        $routeProvider.when('/timesheet', {
          title: 'TimeSheet',
          templateUrl: 'timesheet/partialShow'
        });
        $routeProvider.otherwise({
          redirectTo: '/timesheet'
        });
    }]
  )

  .config(
    ['growlProvider', function (growlProvider) {
      growlProvider.globalTimeToLive(3000);
    }]
  )

  .run(
    ['$location', '$rootScope',
      function($location, $rootScope) {
        $rootScope.$on('$routeChangeSuccess', function (event, current, previous) {
          if (current.$$route)
            $rootScope.title = current.$$route.title;
{'fraction_non_alphanumeric': 0.1579885877318117, 'fraction_numerical': 0.003566333808844508, 'mean_word_length': 2.4544334975369457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4142945', 'n_tokens_mistral': 863, 'n_tokens_neox': 837, 'n_words': 151}