demo_module_constants.js.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JSDoc: Source: demo_module/constants.js</title>
  6. <script src="scripts/prettify/prettify.js"> </script>
  7. <script src="scripts/prettify/lang-css.js"> </script>
  8. <!--[if lt IE 9]>
  9. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
  12. <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">Source: demo_module/constants.js</h1>
  17. <section>
  18. <article>
  19. <pre class="prettyprint source linenums"><code>/** @module */
  20. /*
  21. * constants.js
  22. *
  23. * Collection of all constants used in the component.
  24. * Use at least NAME to identify the module for other modules.
  25. **/
  26. /** NAME is used to identify the module. It is e.g. used in action creators
  27. * and reducers. This module is called demo_module. */
  28. export const NAME = 'demo_module'
  29. /** DATA is used to illustrate the data sructure of the module.
  30. * in this example, there is an array of primary data. Every
  31. * primary data element has an array of secondary data elements. */
  32. export const DATA = ['primary', 'secondary']
  33. console.log('Constants NAME', NAME)
  34. </code></pre>
  35. </article>
  36. </section>
  37. </div>
  38. <nav>
  39. <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-AutoMate.html">AutoMate</a></li><li><a href="module-demo_module.html">demo_module</a></li><li><a href="module-demo_module_components_index.html">demo_module/components/index</a></li><li><a href="module-demo_module_constants.html">demo_module/constants</a></li><li><a href="module-demo_module_initialData.html">demo_module/initialData</a></li><li><a href="module-demo_module_state.html">demo_module/state</a></li><li><a href="module-project.html">project</a></li><li><a href="module-project_components.html">project/components</a></li><li><a href="module-project_state.html">project/state</a></li><li><a href="module-registermap.html">registermap</a></li></ul>
  40. </nav>
  41. <br class="clear">
  42. <footer>
  43. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Tue Mar 14 2017 18:34:23 GMT+0100 (W. Europe Standard Time)
  44. </footer>
  45. <script> prettyPrint(); </script>
  46. <script src="scripts/linenumber.js"> </script>
  47. </body>
  48. </html>