module.html 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!DOCTYPE html>
  2. <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>Esprima: Module Loading Test</title>
  7. <meta name="viewport" content="width=device-width" />
  8. <link rel="stylesheet" href="../assets/style.css">
  9. <link rel="stylesheet" href="../assets/foundation/foundation.min.css">
  10. </head>
  11. <body>
  12. <!-- Navigation bar -->
  13. <div class="row">
  14. <div class="twelve columns">
  15. <nav class="top-bar">
  16. <ul>
  17. <li class="name">
  18. <h1><a href="../index.html">Esprima</a></h1>
  19. </li>
  20. </ul>
  21. <section>
  22. <ul class="right">
  23. <li class="divider show-for-medium-and-up"></li>
  24. <li class="has-dropdown">
  25. <a href="../demo/index.html">Demo</a>
  26. <ul class="dropdown">
  27. <li><label>Static Analysis</label></li>
  28. <li><a href="../demo/parse.html">Online Parsing</a></li>
  29. <li><a href="../demo/validate.html">Syntax Validator</a></li>
  30. <li><a href="../demo/precedence.html">Operator Precedence</a></li>
  31. <li><a href="../demo/collector.html">Regex Collector</a></li>
  32. <li><label>Dynamic Tracing</label></li>
  33. <li><a href="../demo/functiontrace.html">Function Instrumentation</a></li>
  34. <li><label>Code Transformation</label></li>
  35. <li><a href="../demo/rewrite.html">Source Rewrite</a></li>
  36. <li><a href="../demo/minify.html">Minifiy &amp; Obfuscate</a></li>
  37. <li><label>Editing Tools</label></li>
  38. <li><a href="../demo/highlight.html">Identifier Highlight</a></li>
  39. <li><a href="../demo/autocomplete.html">Autocomplete</a></li>
  40. </ul>
  41. </li>
  42. <li class="has-dropdown">
  43. <a href="#">Project</a>
  44. <ul class="dropdown">
  45. <li><a href="http://github.com/ariya/esprima">Git Repository</a></li>
  46. <li><a href="https://travis-ci.org/ariya/esprima">Continuous Integration</a></li>
  47. <li><a href="http://groups.google.com/group/esprima">Mailing List</a></li>
  48. <li><a href="http://issues.esprima.org/">Issue Tracker</a></li>
  49. <li class="divider"></li>
  50. <li><label>QA</label></li>
  51. <li><a href="../test/index.html">Unit Tests</a></li>
  52. <li><a href="../test/benchmarks.html">Benchmarks Suite</a></li>
  53. <li><a href="../test/compat.html">Compatibility Tests</a></li>
  54. <li><a href="../test/compare.html">Speed Comparison</a></li>
  55. <li><a href="../test/module.html">Module Loading</a></li>
  56. <li><a href="../test/coverage.html">Coverage Analysis</a></li>
  57. </ul>
  58. </li>
  59. <li><a href="../doc/index.html">Documentation</a></li>
  60. </ul>
  61. </section>
  62. </nav>
  63. </div>
  64. </div>
  65. <!-- Title and subtitle -->
  66. <div class="row">
  67. <div class="twelve columns">
  68. <h3 class="subheader"><strong>Module Loading</strong> works also web browsers</h3>
  69. </div>
  70. </div>
  71. <!-- Main content -->
  72. <div class="row">
  73. <div class="eight columns">
  74. <div id="report"></div>
  75. </div>
  76. <div class="four columns">
  77. <div id="status" class="alert-box secondary">Please wait...</div>
  78. <div class="panel">
  79. <p>The following tests are to ensure that Esprima can be loaded using <a href="https://github.com/amdjs/amdjs-api/wiki/AMD">AMD</a> (Asynchronous Module Definition) loader such as <a href="http://requirejs.org">RequireJS</a>.</p>
  80. </div>
  81. </div>
  82. </div>
  83. <!-- Footer -->
  84. <div class="row copyright">
  85. <div class="six columns">
  86. <p>Esprima is created and mantained by <a href="http://ariya.ofilabs.com/about">Ariya Hidayat</a>.</p>
  87. </div>
  88. <div class="six columns">
  89. <ul class="link-list right">
  90. <li><a href="http://twitter.com/esprima">@Esprima</a></li>
  91. <li><a href="https://github.com/ariya/esprima">GitHub</a></li>
  92. </ul>
  93. </div>
  94. </div>
  95. <script src="../esprima.js"></script>
  96. <script src="../assets/json2.js"></script>
  97. <script src="../assets/require.js"></script>
  98. <script src="module.js"></script>
  99. <script>
  100. /*jslint browser: true */
  101. window.onload = window.runTests;
  102. </script>
  103. </body>
  104. </html>