forked from cho45/jsdeferred
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
122 lines (104 loc) · 2.11 KB
/
test.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JSDeferred Test</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="jsdeferred.js"></script>
<script type="text/javascript" src="binding/jquery.js"></script>
<!--script type="text/javascript" src="jsdeferred.js"></script-->
<script type="text/javascript" src="test-jsdeferred.js"></script>
<style type="text/css">
body {
padding: 0 1em 10em;
margin: 0;
color: #333;
line-height: 1.5;
}
h2 {
margin: 3em 0 1.5em 0;
}
pre {
background: #efefef;
border: 1px solid #ddd;
padding: 1em;
line-height: 1.33;
overflow: auto;
}
table {
width: 100%;
table-layout: fixed;
font-size: 90%;
}
td,
th {
overflow: hidden;
}
tr.ok {
background: #cfc;
}
tr.ng {
background: #900;
color: #fff;
font-weight: bold;
}
tr.skip {
color: #fff;
background: #d2b301;
font-weight: bold;
}
tr.msg {
background: #333;
color: #fff;
}
tr.msg.low {
background: #fff;
color: #666;
font-size: 70%;
}
td,
td {
padding: 0 0.5em;
}
#top {
position: fixed;
top: 0;
right: 0;
opacity: 0.8;
background: #fff;
padding: 0 1em;
}
#content {
padding: 3em 0;
}
#footer {
margin: 2em 0;
text-align: right;
font-size: 80%;
}
#nums {
padding: 0 0.5em;
}
</style>
</head>
<body>
<div id="whole">
<h1 id="top"><a href="http://coderepos.org/share/wiki/JSDeferred">JSDeferred</a> Test <span id="nums">0/0</span></h1>
<div id="content">
<table id="results">
<thead>
<tr>
<th>Message</th>
<th>Expect</th>
<th>Result</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div id="footer">
<address>2007 <a href="mailto:[email protected]">[email protected]</a></address>
</div>
</div>
</body>
</html>