SpecRunner.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>jquery-ui-timepicker-addon Spec Runner</title>
  5. <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
  6. <link rel="shortcut icon" type="image/png" href="../lib/jasmine-1.3.1/jasmine_favicon.png">
  7. <link rel="stylesheet" type="text/css" href="../lib/jasmine-1.3.1/jasmine.css">
  8. <style>
  9. .ui-datepicker {
  10. display: none;
  11. }
  12. </style>
  13. <script type="text/javascript" src="../lib/jasmine-1.3.1/jasmine.js"></script>
  14. <script type="text/javascript" src="../lib/jasmine-1.3.1/jasmine-html.js"></script>
  15. <script type="text/javascript" src="http://github.com/searls/jasmine-fixture/releases/1.0.5/1737/jasmine-fixture.js"></script>
  16. <script type="text/javascript" src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script>
  17. <script type="text/javascript" src="../src/jquery-ui-timepicker-addon.js"></script>
  18. <script type="text/javascript" src="jquery-ui-timepicker-addon_spec.js"></script>
  19. <script type="text/javascript">
  20. (function() {
  21. var jasmineEnv = jasmine.getEnv();
  22. jasmineEnv.updateInterval = 1000;
  23. var htmlReporter = new jasmine.HtmlReporter();
  24. jasmineEnv.addReporter(htmlReporter);
  25. jasmineEnv.specFilter = function(spec) {
  26. return htmlReporter.specFilter(spec);
  27. };
  28. var currentWindowOnload = window.onload;
  29. window.onload = function() {
  30. if (currentWindowOnload) {
  31. currentWindowOnload();
  32. }
  33. execJasmine();
  34. };
  35. function execJasmine() {
  36. jasmineEnv.execute();
  37. }
  38. })();
  39. </script>
  40. </head>
  41. <body>
  42. </body>
  43. </html>