<commit_before>'use strict';

/**
 * @ngdoc overview
 * @name snotes30App
 * @description
 * # snotes30App
 *
 * Main module of the application.
 */
angular
  .module('snotes30App', [
    'ui.router',
    'ngAnimate',
    'ngCookies',
    'ngResource',
    'ngRoute',
    'ngSanitize',
    'angularSpectrumColorpicker',
    'cgBusy',
    'btford.socket-io',
    'restangular'
  ])
  .config(function ($stateProvider, $urlRouterProvider, $locationProvider, $httpProvider, RestangularProvider, CONFIG) {
    var docResvolers = {
      'doc': ['DocumentService', '$stateParams', function (DocumentService, $stateParams) {
        return DocumentService.getByName($stateParams.name);
      }],
      'docname': ['$stateParams', function ($stateParams) {
        return $stateParams.name;
      }]
    };

    $urlRouterProvider.otherwise("/");

    $urlRouterProvider.rule(function ($injector, $location) {
      var path = $location.url();

      if(path === '/') {
        return;
      }

      // remove trailing slash
      if (path[path.length - 1] === '/' || path.indexOf('/?') > -1) {
        return path.substr(0, path.length - 1);
      }
    });

    $stateProvider
      .state('state1.list', {
        url: "/list",
        templateUrl: "partials/state1.list.html",
        controller: function($scope) {
          $scope.items = ["A", "List", "Of", "Items"];
        }
      })
      .state('livelist', {
        url: '/',
        templateUrl: 'components/livelist/livelist.html',<commit_msg>removed test state<commit_after>'use strict';

/**
 * @ngdoc overview
 * @name snotes30App
 * @description
 * # snotes30App
 *
 * Main module of the application.
 */
angular
  .module('snotes30App', [
    'ui.router',
    'ngAnimate',
    'ngCookies',
    'ngResource',
    'ngRoute',
    'ngSanitize',
    'angularSpectrumColorpicker',
    'cgBusy',
    'btford.socket-io',
    'restangular'
  ])
  .config(function ($stateProvider, $urlRouterProvider, $locationProvider, $httpProvider, RestangularProvider, CONFIG) {
    var docResvolers = {
      'doc': ['DocumentService', '$stateParams', function (DocumentService, $stateParams) {
        return DocumentService.getByName($stateParams.name);
      }],
      'docname': ['$stateParams', function ($stateParams) {
        return $stateParams.name;
      }]
    };

    $urlRouterProvider.otherwise("/");

    $urlRouterProvider.rule(function ($injector, $location) {
      var path = $location.url();

      if(path === '/') {
        return;
      }

      // remove trailing slash
      if (path[path.length - 1] === '/' || path.indexOf('/?') > -1) {
        return path.substr(0, path.length - 1);
      }
    });

    $stateProvider
      .state('livelist', {
        url: '/',
        templateUrl: 'components/livelist/livelist.html',
{'fraction_non_alphanumeric': 0.16750178954903364, 'fraction_numerical': 0.007874015748031496, 'mean_word_length': 2.6824769433465088, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4783976', 'n_tokens_mistral': 897, 'n_tokens_neox': 865, 'n_words': 161}