<commit_before>module.mapper.mapper = def(
  [
  ],

  function () {
    var flat = function (id) {
      return id + '.js';
    };

    var hierarchical = function (id) {
      return id.replace(/\./g, '/') + '.js';
    };

    var constant = function (name) {
      return function (id) {
        return name;
      };
    };

    return {
      flat: flat,
      hierarchical: hierarchical,
      constant: constant
    };
  }
);
<commit_msg>Move extention mapping to modulator.<commit_after>module.mapper.mapper = def(
  [
  ],

  function () {
    var flat = function (id) {
      return id;
    };

    var hierarchical = function (id) {
      return id.replace(/\./g, '/');
    };

    var constant = function (name) {
      return function (id) {
        return name;
      };
    };

    return {
      flat: flat,
      hierarchical: hierarchical,
      constant: constant
    };
  }
);

{'fraction_non_alphanumeric': 0.14604236343366778, 'fraction_numerical': 0.0, 'mean_word_length': 1.80625, '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': '4079586', 'n_tokens_mistral': 298, 'n_tokens_neox': 282, 'n_words': 68}