-
Notifications
You must be signed in to change notification settings - Fork 4
/
docs.html
109 lines (103 loc) · 2.36 KB
/
docs.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<script src="src/build/tiramisu.js"></script>
<style>
body {
background-color: #F0EEC7;
color: #434248;
font-family: "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
font-size: 14px;
line-height: 21px;
}
.container {
width: 950px;
margin: 0 auto;
padding: 0 0 50px 50px;
}
p, li, ul {
margin: 4px 0;
width: 625px;
}
a {
color: #191933;
}
h1, h2, h3, h4, h5, h6, b.header {
font-size: 18px;
margin-bottom: 15px;
text-shadow: #fff 0 1px 1px;
}
h1 {
font-size: 20px;
margin-top: 60px;
}
h2 {
font-size: 18px;
margin-bottom: 15px;
margin-top: 40px;
}
ul {
padding-left: 20px;
}
table {
margin: 16px 0 0 13px; padding: 0;
width: 625px;
}
tr, td {
margin: 0; padding: 0;
}
td {
padding: 9px 15px 9px 0;
vertical-align: top;
}
code, pre, tt, textarea {
font-family: Monaco, Consolas, "Lucida Console", monospace;
font-size: 12px;
line-height: 18px;
color: #155;
white-space: pre-wrap;
word-wrap: break-word;
}
pre {
background-color: #F8F8F8;
border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px;
font-size: 13px;
line-height: 19px;
overflow: auto;
padding: 6px 10px;
width: 625px;
}
</style>
</head>
<body>
<div class="container">
</div>
<script>
var list_modules = [
'readme',
'selector',
'browserdetect',
'selector.dom',
'selector.event',
'json',
'ajax',
'taskengine'
]
for (var i = 0; i < list_modules.length; i++) {
t.ajax({
url : 'docs_json/'+list_modules[i]+'.json',
success : function(data) {
var json = t.json.decode(data);
console.log(json)
var full = t.make('div').html(json[0].description.full);
t.get('.container').append(full);
}
});
}
</script>
</body>
</html>