<commit_before>'use strict';

angular.module('ec2pricesApp')
  .directive('stickyTable', () => {
    return {
      restrict: 'A',
      link: function(scope, element) {
        element.stickyTableHeaders();
      }
    };
  });<commit_msg>[webpack] Made the stickytable directive compatible<commit_after>(function() {
  'use strict';

  var directive = function(angular) {
    angular.module('ec2pricesApp')
      .directive('stickyTable', () => {
        return {
          restrict: 'A',
          link: function(scope, element) {
            element.stickyTableHeaders();
          }
        };
      });
  };

  if (typeof module !== 'undefined' && module && module.exports) {
    module.exports = directive;
  } else {
    directive(angular);
  }
}());
{'fraction_non_alphanumeric': 0.15963060686015831, 'fraction_numerical': 0.002638522427440633, 'mean_word_length': 2.580188679245283, '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': '2961238', 'n_tokens_mistral': 230, 'n_tokens_neox': 225, 'n_words': 41}