Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 54 lines (39 sloc) 1.478 kb
82b2a2b Dan Mohl Added support for Jasmine.
authored
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <title>Jasmine Spec Runner</title>
6
7 <link rel="shortcut icon" type="image/png" href="../ext/jasmine-1.1.0/jasmine_favicon.png">
8
9 <link rel="stylesheet" type="text/css" href="../ext/jasmine-1.1.0/jasmine.css">
10 <script type="text/javascript" src="../ext/jasmine-1.1.0/jasmine.js"></script>
11 <script type="text/javascript" src="../ext/jasmine-1.1.0/jasmine-html.js"></script>
12 <script type="text/javascript" src="../lib/expectThat.jasmine.js"></script>
13
14 <!-- include spec files here... -->
15 <script type="text/javascript" src="min/expectThat.jasmine.specs.js"></script>
16
17 <!-- include source files here... -->
18 <!--<script type="text/javascript" src="src/Player.js"></script>-->
19
20 <script type="text/javascript">
21 (function() {
22 var jasmineEnv = jasmine.getEnv();
23 jasmineEnv.updateInterval = 1000;
24
25 var trivialReporter = new jasmine.TrivialReporter();
26
27 jasmineEnv.addReporter(trivialReporter);
28
29 jasmineEnv.specFilter = function(spec) {
30 return trivialReporter.specFilter(spec);
31 };
32
33 var currentWindowOnload = window.onload;
34
35 window.onload = function() {
36 if (currentWindowOnload) {
37 currentWindowOnload();
38 }
39 execJasmine();
40 };
41
42 function execJasmine() {
43 jasmineEnv.execute();
44 }
45
46 })();
47 </script>
48
49 </head>
50
51 <body>
52 </body>
53 </html>
Something went wrong with that request. Please try again.