/*
 * 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};

@@ -489,201 +489,469 @@
 %7B%0A  
-for (const name of %5B%0A    'http-headers', 'href-variables', 'asset', 'http-message-payload',%0A    'http-transaction', 'transition', 'resource', 'data-structure',%0A    'copy', 'category',%0A  %5D) %7B%0A  
+require('./elements/http-headers')(options.base);%0A  require('./elements/href-variables')(options.base);%0A  require('./elements/asset')(options.base);%0A  require('./elements/http-message-payload')(options.base);%0A  require('./elements/http-transaction')(options.base);%0A  require('./elements/transition')(options.base);%0A  require('./elements/resource')(options.base);%0A  require('./elements/data-structure')(options.base);%0A  require('./elements/copy')(options.base);%0A
   re
@@ -956,17 +956,17 @@
 require(
-%60
+'
 ./elemen
@@ -972,16 +972,17 @@
 nts/
-$%7Bname%7D%60
+category'
 )(op
@@ -998,12 +998,8 @@
 e);%0A
-  %7D%0A
 %7D%0A%0Ae

Fix for browserify