1
0

index.min.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>Jasmine Spec Runner</title>
  5. <link rel="shortcut icon" type="image/png" href="lib/jasmine_favicon.png">
  6. <link rel="stylesheet" type="text/css" href="lib/jasmine.css">
  7. <script type="text/javascript" src="lib/jasmine.js"></script>
  8. <script type="text/javascript" src="lib/jasmine-html.js"></script>
  9. <script type="text/javascript" src="lib/json2.js"></script>
  10. <!-- include helper files here... -->
  11. <script src="helpers/h.js"></script>
  12. <script src="helpers/h-kill.js"></script>
  13. <script src="helpers/h-matchers.js"></script>
  14. <!-- include source files here... -->
  15. <script src="../es5-shim.min.js"></script>
  16. <!-- include spec files here... -->
  17. <script src="spec/s-array.js"></script>
  18. <script src="spec/s-function.js"></script>
  19. <script src="spec/s-string.js"></script>
  20. <script src="spec/s-object.js"></script>
  21. <script src="spec/s-number.js"></script>
  22. <script src="spec/s-date.js"></script>
  23. <script type="text/javascript">
  24. (function() {
  25. var jasmineEnv = jasmine.getEnv();
  26. jasmineEnv.updateInterval = 1000;
  27. var trivialReporter = new jasmine.TrivialReporter();
  28. jasmineEnv.addReporter(trivialReporter);
  29. jasmineEnv.specFilter = function(spec) {
  30. return trivialReporter.specFilter(spec);
  31. };
  32. var currentWindowOnload = window.onload;
  33. window.onload = function() {
  34. if (currentWindowOnload) {
  35. currentWindowOnload();
  36. }
  37. execJasmine();
  38. };
  39. function execJasmine() {
  40. jasmineEnv.execute();
  41. }
  42. })();
  43. </script>
  44. </head>
  45. <body>
  46. </body>
  47. </html>