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