Debian Codegraph @

spec/q-spec.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Jasmine Spec Runner</title>
5 <meta charset="utf-8" />
6
7 <link rel="shortcut icon" type="image/png" href="lib/jasmine-1.2.0/jasmine_favicon.png" />
8 <link rel="stylesheet" href="lib/jasmine-1.2.0/jasmine.css" />
9 <script src="lib/jasmine-1.2.0/jasmine.js"></script>
10 <script src="lib/jasmine-1.2.0/jasmine-html.js"></script>
11 <script src="lib/jasmine-promise.js"></script>
12
13 <!-- include source files here... -->
14 <script src="../q.js"></script>
15
16 <!-- include spec files here... -->
17 <script src="q-spec.js"></script>
18
19 <script>
20 (function() {
21 var jasmineEnv = jasmine.getEnv();
22 jasmineEnv.updateInterval = 1000;
23
24 var htmlReporter = new jasmine.HtmlReporter();
25
26 jasmineEnv.addReporter(htmlReporter);
27
28 jasmineEnv.specFilter = function(spec) {
29 return htmlReporter.specFilter(spec);
30 };
31
32 var currentWindowOnload = window.onload;
33
34 window.onload = function() {
35 if (currentWindowOnload) {
36 currentWindowOnload();
37 }
38 execJasmine();
39 };
40
41 function execJasmine() {
42 jasmineEnv.execute();
43 }
44
45 })();
46 </script>
47
48 </head>
49
50 <body>
51 </body>
52 </html>