forked from cho45/jsdeferred
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-titanium.html
56 lines (50 loc) · 1.3 KB
/
test-titanium.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8"/>
<style type="text/css">
html {
margin: 0;
padding: 0;
}
body {
line-height: 1.66;
font-size: 12px;
font-family: sans-serif;
margin: 0;
padding: 0 5px;
}
div {
border-style: solid;
border-width: 0 0 1px 0;
border-color: #efefef;
padding: 2px 5px;
overflow: hidden;
}
.info {
color: #999;
}
.ok {
color: #060;
}
.ng {
color: #600;
}
.skip {
color: #909;
}
</style>
<script type="text/javascript">
function message (obj) {
var div = document.createElement('div');
div.className = obj.type;
div.appendChild(document.createTextNode(obj.text));
document.body.appendChild(div);
document.body.scrollTop = document.body.scrollHeight;
}
</script>
</head>
<body>
</body>
</html>