<commit_before>(function() {
  'use strict';

  angular.module('app.components')
    .component('detailReveal', {
      controller: ComponentController,
      controllerAs: 'vm',
      bindings: {
        title: '@',
        detail: '@',
        icon: '@',
        translateTitle: '=',
        rowClass: '@'
      },
      transclude: true,
      templateUrl: 'app/components/detail-reveal/detail-reveal.html',
    });

  /** @ngInject */
  function ComponentController($transclude) {
    var vm = this;
    vm.translateTitle = (angular.isDefined(vm.translateTitle) ? true : vm.translateTitle);
    vm.title = (vm.translateTitle === true ? __(vm.title) : vm.title);
    vm.rowClass = (angular.isDefined(vm.rowClass) ? vm.rowClass : 'row detail-row');
    vm.$onInit = activate();

    function activate() {
      vm.toggleDetails = false;
      vm.hasMoreDetails = $transclude().length > 0;
    }
  }
})();
<commit_msg>Fixed trailing comma<commit_after>(function() {
  'use strict';

  angular.module('app.components')
    .component('detailReveal', {
      controller: ComponentController,
      controllerAs: 'vm',
      bindings: {
        title: '@',
        detail: '@',
        icon: '@',
        translateTitle: '=',
        rowClass: '@',
      },
      transclude: true,
      templateUrl: 'app/components/detail-reveal/detail-reveal.html',
    });

  /** @ngInject */
  function ComponentController($transclude) {
    var vm = this;
    vm.translateTitle = (angular.isDefined(vm.translateTitle) ? true : vm.translateTitle);
    vm.title = (vm.translateTitle === true ? __(vm.title) : vm.title);
    vm.rowClass = (angular.isDefined(vm.rowClass) ? vm.rowClass : 'row detail-row');
    vm.$onInit = activate();

    function activate() {
      vm.toggleDetails = false;
      vm.hasMoreDetails = $transclude().length > 0;
    }
  }
})();

{'fraction_non_alphanumeric': 0.16522210184182015, 'fraction_numerical': 0.0010834236186348862, 'mean_word_length': 2.746450304259635, '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': '7588694', 'n_tokens_mistral': 582, 'n_tokens_neox': 572, 'n_words': 98}