index.html 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <html>
  2. <head>
  3. <meta charset="utf-8" />
  4. <link rel="stylesheet" href="https://raw.github.com/visionmedia/mocha/master/mocha.css" />
  5. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  6. <script src="https://raw.github.com/visionmedia/mocha/master/mocha.js"></script>
  7. <script>
  8. mocha.setup('bdd');
  9. </script>
  10. <script src="../base64.js"></script>
  11. <script>
  12. var assert = function(expr, msg) {
  13. if (!expr) throw new Error(msg || 'failed');
  14. };
  15. assert.equal = function(a, b, msg) {
  16. if (a !== b) throw new Error(msg || ('failed : '+a+','+b));
  17. };
  18. </script>
  19. <script src="./dankogai.js"></script>
  20. <script src="./es5.js"></script>
  21. <script src="./large.js"></script>
  22. <script src="./yoshinoya.js"></script>
  23. <script>
  24. $(function() {
  25. mocha.run();
  26. });
  27. </script>
  28. </head>
  29. <body>
  30. $Id: browser.html,v 0.2 2012/08/23 19:44:32 dankogai Exp dankogai $
  31. <div id="mocha"></div>
  32. </body>
  33. </html>