<commit_before>'use strict';

(function () {

  var app = angular.module('antismash.db.ui.browse.taxonomy', [
    'jsTree.directive'
  ]);

  app.controller('BrowseTaxonomyController', ['$scope', '$state',
    function ($scope, $state) {
      var vm = this;
      vm.active = null;
      $scope.activate_cb = activate_cb;
      $scope.tree_types = {
        default: {
          icon: "fa fa-sitemap"
        },
        strain: {
          icon: "fa fa-circle-o"
        }
      };

      function activate_cb(event, ctx) {
        // Wrap in $apply so angular notices stuff changed.
        $scope.$apply(function(){<commit_msg>browse.taxonomy: Remove unused $state parameter<commit_after>'use strict';

(function () {

  var app = angular.module('antismash.db.ui.browse.taxonomy', [
    'jsTree.directive'
  ]);

  app.controller('BrowseTaxonomyController', ['$scope',
    function ($scope) {
      var vm = this;
      vm.active = null;
      $scope.activate_cb = activate_cb;
      $scope.tree_types = {
        default: {
          icon: "fa fa-sitemap"
        },
        strain: {
          icon: "fa fa-circle-o"
        }
      };

      function activate_cb(event, ctx) {
        // Wrap in $apply so angular notices stuff changed.
        $scope.$apply(function(){
{'fraction_non_alphanumeric': 0.14341692789968652, 'fraction_numerical': 0.0, 'mean_word_length': 2.208542713567839, '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': '790161', 'n_tokens_mistral': 414, 'n_tokens_neox': 402, 'n_words': 83}