<commit_before>/*
 * API description-specific refract elements.
 * General structure:
 *
 * + Category - API, resource group
 *   + Category
 *   + Copy
 *   + Resource
 *     + Transition
 *       + Transaction
 *         + Request
 *           + Asset
 *           + Message body
 *           + Message body schema
 *         + Response
 *           + Asset
 *           + Message body
 *           + Message body schema
 *   + Transition
 *   + Data structure
 */

export function namespace(options) {
  for (const name of [
    'http-headers', 'href-variables', 'asset', 'http-message-payload',
    'http-transaction', 'transition', 'resource', 'data-structure',
    'copy', 'category',
  ]) {
    require(`./elements/${name}`)(options.base);
  }
}

export default {namespace};<commit_msg>Fix for browserify<commit_after>/*
 * API description-specific refract elements.
 * General structure:
 *
 * + Category - API, resource group
 *   + Category
 *   + Copy
 *   + Resource
 *     + Transition
 *       + Transaction
 *         + Request
 *           + Asset
 *           + Message body
 *           + Message body schema
 *         + Response
 *           + Asset
 *           + Message body
 *           + Message body schema
 *   + Transition
 *   + Data structure
 */

export function namespace(options) {
  require('./elements/http-headers')(options.base);
  require('./elements/href-variables')(options.base);
  require('./elements/asset')(options.base);
  require('./elements/http-message-payload')(options.base);
  require('./elements/http-transaction')(options.base);
  require('./elements/transition')(options.base);
  require('./elements/resource')(options.base);
  require('./elements/data-structure')(options.base);
  require('./elements/copy')(options.base);
  require('./elements/category')(options.base);
}

export default {namespace};
{'fraction_non_alphanumeric': 0.15086206896551724, 'fraction_numerical': 0.0, 'mean_word_length': 2.5037735849056606, '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': '1643658', 'n_tokens_mistral': 505, 'n_tokens_neox': 496, 'n_words': 104}