<commit_before>"use strict";

angular.module('arethusa.relation').directive('nestedMenu', [
  '$compile',
  function($compile) {
    return {
      restrict: 'A',
      scope: {
        relation: '=',
        values: '=',
        label: '='
      },
      link: function(scope, element, attrs) {
        //var nestedHtml = '<ul nested-menu relation="relation" labels="labels"></ul>';

        //angular.forEach(scope.labels, function(obj, label) {
          //if (obj.nested) {
            //var li = angular.element('#' + label);
            //var childScope = scope.$new();
            //childScope.labels = obj.nested;
            //console.log(li);
            //console.log($compile(nestedHtml)(childScope));
            //li.append($compile(nestedHtml)(childScope));
          //}
        //});
        //console.log('1');<commit_msg>Remove obsolete code<commit_after>"use strict";

angular.module('arethusa.relation').directive('nestedMenu', [
  '$compile',
  function($compile) {
    return {
      restrict: 'A',
      scope: {
        relation: '=',
        values: '=',
        label: '='
      },
      link: function(scope, element, attrs) {
{'fraction_non_alphanumeric': 0.18457538994800693, 'fraction_numerical': 0.0008665511265164644, 'mean_word_length': 2.1557377049180326, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4620688', 'n_tokens_mistral': 336, 'n_tokens_neox': 335, 'n_words': 57}