<commit_before>/**
 * @author keke
 */
(function (define) {
  'use strict';
  define(['app', 'masthead', 'app-nav', 'ltShared/i18next', 'ltShared/cfg'], function (ltApp) {
    return ltApp.constant('templateRoot', 'scripts').config(['$locationProvider', 'i18nextServiceProvider',
          function ($locationProvider, i18nextServiceProvider) {
            $locationProvider.html5Mode(true).hashPrefix('!');
            i18nextServiceProvider.addNamespace('lt');
          }]).run(['i18nextService',
          function (i18nextService) {
            i18nextService.init();
          }]);
  });
})(define);<commit_msg>add routeProvider config for root<commit_after>/**
 * @author keke
 */
(function(define) {
  'use strict';
  define(['app', 'masthead', 'app-nav', 'ltShared/i18next', 'ltShared/cfg'], function(ltApp) {
    return ltApp.constant('templateRoot', 'scripts').
      config(['$locationProvider', 'i18nextServiceProvider', '$routeProvider',
        function($locationProvider, i18nextServiceProvider, $routeProvider) {
          $locationProvider.html5Mode(true).hashPrefix('!');
          i18nextServiceProvider.addNamespace('lt');
          $routeProvider.when('/', {
            resolve:{
              delay: ['$q','i18nextService',function($q, i18nextService){
                return $q.all([i18nextService.init()]);
              }]
            }
          }), otherwise({
            redirectTo: '/'
          });
        }]).run(['i18nextService',
          function(i18nextService) {
        i18nextService.init();
          }]);
  });
})(define);
{'fraction_non_alphanumeric': 0.1742182514358647, 'fraction_numerical': 0.02297383535417996, 'mean_word_length': 2.9396984924623117, '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': '3369778', 'n_tokens_mistral': 468, 'n_tokens_neox': 444, 'n_words': 67}